<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GnuPG automation in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683139#M102928</link>
    <description>Hi,&lt;BR /&gt;   I'm having trouble getting a decryption script working using GnuPG. I've tried both expect and python (GnuPGInterface). The Expect script seems to just hang, and the Python script works fine from the command-line, but when I put it into cron, it generates a stack trace error list. Does anybody have a script that does decryption and that can be used from cron without any problems. Thanks for any help and/or pointers.&lt;BR /&gt;&lt;BR /&gt;Gary</description>
    <pubDate>Fri, 02 Dec 2005 08:40:53 GMT</pubDate>
    <dc:creator>Gary Hines</dc:creator>
    <dc:date>2005-12-02T08:40:53Z</dc:date>
    <item>
      <title>GnuPG automation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683139#M102928</link>
      <description>Hi,&lt;BR /&gt;   I'm having trouble getting a decryption script working using GnuPG. I've tried both expect and python (GnuPGInterface). The Expect script seems to just hang, and the Python script works fine from the command-line, but when I put it into cron, it generates a stack trace error list. Does anybody have a script that does decryption and that can be used from cron without any problems. Thanks for any help and/or pointers.&lt;BR /&gt;&lt;BR /&gt;Gary</description>
      <pubDate>Fri, 02 Dec 2005 08:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683139#M102928</guid>
      <dc:creator>Gary Hines</dc:creator>
      <dc:date>2005-12-02T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG automation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683140#M102929</link>
      <description>Hi Gary:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The basic comment I can make is that 'cron' provides a very minimal environment.  If the script works correctly from a shell but not under 'cron', a good place to start looking is at environmental variables that you "always" have in your normal shell environment, because they were set in your login profile.  For example, 'cron' provides a PATH defined only as '/usr/bin:/usr/sbin'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 02 Dec 2005 08:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683140#M102929</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-02T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG automation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683141#M102930</link>
      <description>Hi James,&lt;BR /&gt;   I didn't even think of that. Now that I modified the path, it seems to make a difference, but I'm getting a different error which seems strange. I'm wondering if someone here could shed some light on it. The error is:&lt;BR /&gt;&lt;BR /&gt;gpg: cannot open '/dev/tty': No such device or address&lt;BR /&gt;&lt;BR /&gt;It seems totally bizarre that it can't open a tty.&lt;BR /&gt;&lt;BR /&gt;Gary</description>
      <pubDate>Fri, 02 Dec 2005 09:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683141#M102930</guid>
      <dc:creator>Gary Hines</dc:creator>
      <dc:date>2005-12-02T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG automation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683142#M102931</link>
      <description>No,&lt;BR /&gt;&lt;BR /&gt;its normal in cron not having a tty:&lt;BR /&gt;cron is a daemon, not sitting in front of a terminal.&lt;BR /&gt;Think of the classical 'who' command - ever tried to call it in cron?&lt;BR /&gt;&lt;BR /&gt;Look for options that fulfill ALL information GnuPG requests; perhaps you can supply some information via a pipe:&lt;BR /&gt;echo 'input&lt;BR /&gt;input' | GnuPG&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Fri, 02 Dec 2005 10:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683142#M102931</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2005-12-02T10:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG automation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683143#M102932</link>
      <description>Still don't have it working. It seems GPG just doesn't want to work without a TTY. I guess I'm going to have to break down, and write a script to control it from a windows telnet session. Thanks for the pointers though.</description>
      <pubDate>Mon, 05 Dec 2005 08:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnupg-automation/m-p/3683143#M102932</guid>
      <dc:creator>Gary Hines</dc:creator>
      <dc:date>2005-12-05T08:29:54Z</dc:date>
    </item>
  </channel>
</rss>

