<?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 Re: GnuPG not working when in BATCH in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323535#M30798</link>
    <description>&lt;P&gt;&lt;FONT size="2"&gt;&amp;gt; $ &amp;nbsp;gpg --version&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;gt; gpg: Please note that you don't have secure memory on this system&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;gt; gpg (GnuPG) 1.4.7&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;﻿&amp;gt; [...]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Ah.&amp;nbsp; That looks like HP's kit, which could account for many things.&lt;BR /&gt;I'd need to do some research, but it may be looking at stdin/SYS$INPUT&lt;BR /&gt;instead of SYS$COMMAND.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; There are reasons for a complete/useful problem (or other behavior)&lt;BR /&gt;report to include versions and other environment info.&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;gt; I apologize if this is not supposed to work.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Accepted.&amp;nbsp; (Blame HP, not me.&amp;nbsp; I'm moderately confident that GnuPG is&lt;BR /&gt;not supposed to accept a pass phrase from stdin without a special&lt;BR /&gt;dispensation ("--passphrase-fd 0").)﻿&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2011 16:07:51 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2011-09-06T16:07:51Z</dc:date>
    <item>
      <title>GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322493#M30786</link>
      <description>&lt;P&gt;A client has a command procedure to pull encrypted files from an ftp site and then decrypt them&amp;nbsp; They now want to do this on a nightly basis and tried putting their procedure in a resubmitting BATCH job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interactively, their command procedure works to decrypt the files with this line doing the PGP decryption:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ PIPE gpg -v&amp;nbsp; --no-tty --passphrase-fd 0 --output "file.csv" --decrypt "file^.csv.pgp" &amp;lt; PASSPHRASE.TXT﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in BATCH, the 'gpg' command seem to go into an infinite loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thinking something is confusing the'gpg --passphrase-fd 0﻿..." in batch mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, no lectures about the PASSPHRASE in a file...&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 20:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322493#M30786</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-05T20:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322529#M30787</link>
      <description>&lt;P&gt;FWIW,&amp;nbsp; I founf that just trying to use GPG in batch is the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ SET PROCESS/PARSE_STYLE=EXTENDED&lt;BR /&gt;$ @SYS$COMMON:[GnuPG]GnuPG_SETUP.COM&lt;BR /&gt;$ GPG&amp;nbsp;&amp;nbsp; == "$SYS$COMMON:[GNUPG.GNUPG-1_4_11A_VMS.G10.ALPHAL]GPG.EXE&lt;BR /&gt;$ GPGV&amp;nbsp; == "$SYS$COMMON:[GNUPG.GNUPG-1_4_11A_VMS.G10.ALPHAL]GPGV.EXE&lt;BR /&gt;$ gpg -?&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;Infinite loop!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ gpg --version&lt;BR /&gt;gpg (GnuPG) 1.4.11a&lt;BR /&gt;Copyright (C) 2010 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;A href="http://gnu.org/licenses/gpl.html" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 21:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322529#M30787</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-05T21:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322539#M30788</link>
      <description>&lt;P&gt;Are you running your the HP GnuPG port, Mr Schweda's port, your own port, or some other port? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're not running Mr Schweda's port, start there. &amp;nbsp;Failing that, maybe try your own port?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 22:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322539#M30788</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-09-05T22:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322551#M30789</link>
      <description>&lt;P&gt;The GnuPG on the HP site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 22:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322551#M30789</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-05T22:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322559#M30790</link>
      <description>Then definitely try Steven's GnuPG port.</description>
      <pubDate>Mon, 05 Sep 2011 23:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322559#M30790</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-09-05T23:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322565#M30791</link>
      <description>&lt;P&gt;I stand corrected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$SYS$COMMON:[GNUPG.GNUPG-1_4_11A_VMS.G10.ALPHAL]GPG.EXE﻿&lt;/P&gt;&lt;P&gt;-------------------------------------------------^^^^^^^^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at the HP site and that version is 1.4.7.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 23:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322565#M30791</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-05T23:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322567#M30792</link>
      <description>&lt;P&gt;Definitely &amp;nbsp;Steven M. Schweda's build... as per&amp;nbsp;SYS$COMMON:[GNUPG.GNUPG-1_4_11A_VMS.VMS]﻿VMS_NOTES.TXT﻿...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When reporting problems, especially build problems, with GnuPG for&lt;BR /&gt;VMS, it is often useful to reveal precise compiler, run-time library,&lt;BR /&gt;and VMS version information.&amp;nbsp; The program DECC_VER.C (included in the&lt;BR /&gt;kit) is intended to make that easier.&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Steven M. Schweda&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sms@antinode.info&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 382 South Warwick Street&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (+1) 651-699-9818&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Saint Paul&amp;nbsp; MN&amp;nbsp; 55105-2547&lt;BR /&gt;&lt;BR /&gt;﻿&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2011 23:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322567#M30792</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-05T23:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322655#M30793</link>
      <description>&lt;P&gt;&amp;gt; &amp;nbsp;&amp;nbsp; When reporting problems, ﻿[...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; While it's always gratifying to see one's advice quoted, it can be&lt;BR /&gt;even more satisfying when it's followed.&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;gt; However, in BATCH, the 'gpg' command seem to go into an infinite loop.﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Apparently something does.&amp;nbsp; I'd never tried:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pipe gpg --passphrase-fd 0 ... &amp;lt; pp.txt&lt;BR /&gt;but it does seem to loop.&amp;nbsp; What did work for me were things like:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pp_symb = "Pass Phrase"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pipe write sys$output pp_symb | gpg --passphrase-fd 0 ...&lt;BR /&gt;and:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pipe type pp.txt | gpg --passphrase-fd 0 ...&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;Both seem satisfactory in and out of batch mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When I get bored enough, I might look into what's happening in the&lt;BR /&gt;"pipe gpg --passphrase-fd 0 ... &amp;lt; file" case.&amp;nbsp; I should be able to add a&lt;BR /&gt;usage note on the Web page, if nothing else.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 03:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322655#M30793</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-09-06T03:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322687#M30794</link>
      <description>&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Maybe instead of using PIPE input redirection, try DEFINE/USER. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ DEFINE/USER SYS$INPUT PASSPHRASE.TXT&lt;/P&gt;&lt;P&gt;$ gpg ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or possibly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ DEFINE/USER SYS$COMMAND PASSPHRASE.TXT&lt;/P&gt;&lt;P&gt;$ gpg ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Unix utilities I've sometimes found it necessary to redirect SYS$COMMAND&amp;nbsp;when running in&amp;nbsp;batch mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ DEFINE/USER SYS$COMMAND NL:&lt;/P&gt;&lt;P&gt;$ PIPE gpg... &amp;lt; PASSPHRASE.TXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Never quite understood why. It may have something to do with the assumptions about input streams and the differences between Unix and VMS.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 04:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5322687#M30794</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2011-09-06T04:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323085#M30795</link>
      <description>&lt;P&gt;Brian,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this works for us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$&amp;nbsp;pipe ty &amp;lt;Passphrase_File&amp;gt; | GPG --output 'Decr_File' --decrypt 'Encr_File'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 10:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323085#M30795</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2011-09-06T10:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323459#M30796</link>
      <description>&lt;P&gt;&amp;gt; this works for us.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; $ pipe ty &amp;lt;Passphrase_File&amp;gt; | GPG --output 'Decr_File' --decrypt 'Encr_File'&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Really?&amp;nbsp; Without the "--passphrase-fd 0"?&amp;nbsp; Around here&lt;BR /&gt;(interactively):&lt;BR /&gt;&lt;BR /&gt;alp $ pipe type pp.txt | gpg -d -o bat6.out login.com-gpg&lt;BR /&gt;&lt;BR /&gt;You need a passphrase to unlock the secret key for&lt;BR /&gt;user: "Steven M. Schweda (Antinode 2011) &amp;lt;sms@antinode.info&amp;gt;"&lt;BR /&gt;2048-bit RSA key, ID EFCC5412, created 2011-09-01 (main key ID C6803C31)&lt;BR /&gt;&lt;BR /&gt;Enter passphrase:&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;Same for an interactive DCL procedure.&amp;nbsp; In a batch job:&lt;BR /&gt;&lt;BR /&gt;alp $ type [--]decr_bat6.log&lt;BR /&gt;$ Set NoOn&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;gpg: fatal: error disabling terminal echo: illegal i/o function code&lt;BR /&gt;secmem usage: 1664/1824 bytes in 4/5 blocks of pool 1824/32768&lt;BR /&gt;&amp;nbsp; SMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; job terminated at&amp;nbsp; 6-SEP-2011 10:04:46.99&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Accounting information:&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;﻿alp $ gpg --version&lt;BR /&gt;gpg (GnuPG) 1.4.11b&lt;BR /&gt;Copyright (C) 2010 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;A href="http://gnu.org/licenses/gpl.html" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&lt;BR /&gt;&lt;BR /&gt;Home: /SYS$LOGIN/gnupg&lt;BR /&gt;Supported algorithms:&lt;BR /&gt;Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA&lt;BR /&gt;Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAMELLIA192, CAMELLIA256&lt;BR /&gt;Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224&lt;BR /&gt;Compression: Uncompressed, ZIP, ZLIB, BZIP2&lt;BR /&gt;﻿&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323459#M30796</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-09-06T15:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323509#M30797</link>
      <description>&lt;P&gt;&lt;FONT size="1"&gt;Yes Steven,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;This is the code being executed (with redactions.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Step 5: De-crypt the file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PMDF Mail /Subject="File ''Encr_File' retrieved from XXXX."&amp;nbsp;&amp;nbsp; NL:&amp;nbsp;&amp;nbsp;&amp;nbsp; "EON_Admin"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write sys$output "&amp;gt;&amp;gt;&amp;gt; ''f$time()' Encrypted File Retrieved from XXXX"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open/Append Hist_File LOGS_OB:INVRETR.HIST&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write Hist_file "&amp;gt;&amp;gt;&amp;gt; ''f$time()' ''Encr_File' retrieved from XXX..."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Close Hist_File&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write sys$output "&amp;gt;&amp;gt;&amp;gt; Decrypt the file..."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write sys$output "&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;''Encr_File' ==&amp;gt; ''Decr_File'"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pipe ty Userroot:[EOD.GNUPG]EON_PP.Txt | GPG --output&amp;nbsp; 'Decr_File'&amp;nbsp; --decrypt&amp;nbsp; 'Encr_File'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stat = $status&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp; Dir/date=(C,M)/Size=all 'FileName'.*&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;and this is the log output.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;gt;&amp;gt;&amp;gt; 2-SEP-2011 07:02:59.42 Encrypted File Retrieved from XXXX&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;gt;&amp;gt;&amp;gt; Decrypt the file...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TSS001_INV_20110901_16550_ZIP.PGP ==&amp;gt; TSS001_INV_20110901_16550_ZIP.ZIP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;gpg: Please note that you don't have secure memory on this system&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;gpg: WARNING: program may create a core file!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Enter passphrase:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;gpg: encrypted with 2048-bit ELG-E key, ID AB95A97F, created 2008-03-11&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;"Xxxxxx End Night (Testing only) &amp;lt;END_NIGHT@Xxxxxxx.com&amp;gt;"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;gpg: Signature made Fri Sep 2 05:58:07 2011 EDT using DSA key ID C2DC5ED6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;gpg: Can't check signature: public key not found&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Directory RRD_ROOT:[000000]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;TSS001_INV_20110901_16550_ZIP.PGP;1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 382978/383031 2-SEP-2011 06:36:28.92&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;TSS001_INV_20110901_16550_ZIP.ZIP;1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 383328/383396 2-SEP-2011 07:03:00.14&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Total of 2 files, 766306/766427 blocks.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;This is the version I/we are using.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;$ &amp;nbsp;gpg --version&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;gpg: Please note that you don't have secure memory on this system&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;gpg (GnuPG) 1.4.7&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Copyright (C) 2006 Free Software Foundation, Inc.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;This program comes with ABSOLUTELY NO WARRANTY.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;This is free software, and you are welcome to redistribute it&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;under certain conditions. See the file COPYING for details.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Home: /SYS$LOGIN/gnupg&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Supported algorithms:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Compression: Uncompressed, ZIP, ZLIB&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I apologize if this is not supposed to work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Dave&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323509#M30797</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2011-09-06T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323535#M30798</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;&amp;gt; $ &amp;nbsp;gpg --version&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;gt; gpg: Please note that you don't have secure memory on this system&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;gt; gpg (GnuPG) 1.4.7&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;﻿&amp;gt; [...]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Ah.&amp;nbsp; That looks like HP's kit, which could account for many things.&lt;BR /&gt;I'd need to do some research, but it may be looking at stdin/SYS$INPUT&lt;BR /&gt;instead of SYS$COMMAND.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; There are reasons for a complete/useful problem (or other behavior)&lt;BR /&gt;report to include versions and other environment info.&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;gt; I apologize if this is not supposed to work.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Accepted.&amp;nbsp; (Blame HP, not me.&amp;nbsp; I'm moderately confident that GnuPG is&lt;BR /&gt;not supposed to accept a pass phrase from stdin without a special&lt;BR /&gt;dispensation ("--passphrase-fd 0").)﻿&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 16:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323535#M30798</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-09-06T16:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323561#M30799</link>
      <description>&lt;P&gt;My process has been in place (in our Production Environment) for 3-4 years without any issues.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have never felt the need to upgrade (and possibly break) a process which was/is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I realize that time moves on for everyone else, and the old stuff starts to look strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 16:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323561#M30799</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2011-09-06T16:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323577#M30800</link>
      <description>&lt;P&gt;&lt;STRONG&gt;$ PIPE TYPE '&lt;STRONG&gt;PASSPHRASE_FILE'﻿&lt;/STRONG&gt; | gpg --passphrase-fd 0﻿ ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works, whereas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$ PIPE gpg --passphrase-fd 0﻿ ...﻿ &amp;lt; 'PASSPHRASE_FILE'﻿&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The later DOES work INTERACTIVEly and in SPAWNed subprocesses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, this will get the client rolling but it would be nice to know why&lt;STRONG&gt; --passphrase-fd 0﻿ ...﻿ &amp;lt; 'PASSPHRASE_FILE'﻿﻿&lt;/STRONG&gt; doesn't work in BATCH.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 16:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323577#M30800</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-06T16:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323657#M30801</link>
      <description>&lt;P&gt;The last report was incorrect.&amp;nbsp; The BATCH job doesn't loop but it also doesn't decrypt the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going back to the&amp;nbsp; &amp;lt; until this can be sorted out.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 06 Sep 2011 17:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323657#M30801</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-06T17:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323665#M30802</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/926"&gt;@The Brit&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Brian,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this works for us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$&amp;nbsp;pipe ty &amp;lt;Passphrase_File&amp;gt; | GPG --output 'Decr_File' --decrypt 'Encr_File'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;That doesn't evem make sense.&amp;nbsp; Why would you direct from the file into TYPE and output to the pipe (with the | doesn't make sense) when a simple TYPE would suffice?&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 18:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323665#M30802</guid>
      <dc:creator>Brian  Schenkenberger</dc:creator>
      <dc:date>2011-09-06T18:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323677#M30803</link>
      <description>&lt;P&gt;&amp;gt; The last report was incorrect.&amp;nbsp; The BATCH job doesn't loop but it also&lt;BR /&gt;&amp;gt; doesn't decrypt the file.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; As I said, it works for me.&amp;nbsp; And has for a while:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://h30499.www3.hp.com/t5/x/x/td-p/5097162" target="_blank"&gt;http://h30499.www3.hp.com/t5/x/x/td-p/5097162&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd expect the batch job log file to offer some info on what went awry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Have never felt the need to upgrade [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I'm not arguing.&amp;nbsp; I find the key server stuff in mine handy from time&lt;BR /&gt;to time, and, while I use this stuff very seldom, I've run into a bunch&lt;BR /&gt;of bugs in the HP edition.&amp;nbsp; For example, if you're looking for my public&lt;BR /&gt;key (the one whose pass phrase I can remember, any way):&lt;BR /&gt;&lt;BR /&gt;alp $ gpg --search-keys antinode 2011 schweda&lt;BR /&gt;gpg: searching for "antinode 2011 schweda" from hkp server keys.gnupg.net&lt;BR /&gt;(1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steven M. Schweda (Antinode 2011) &amp;lt;sms@antinode.info&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048 bit RSA key C6803C31, created: 2011-09-01&lt;BR /&gt;Keys 1-1 of 1 for "antinode 2011 schweda".&amp;nbsp; Enter number(s), N)ext, or Q)uit &amp;gt; q&lt;BR /&gt;&lt;BR /&gt;﻿And, of course, there are the security/bug fixes in the main code&lt;BR /&gt;between versions 1.4.7 and 1.4.11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; And I never see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; gpg: Please note that you don't have secure memory on this system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I can build the latest stuff on VAX (except for a couple of the hash&lt;BR /&gt;algorithms).&amp;nbsp; And ..., but you get the idea.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 18:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323677#M30803</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-09-06T18:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323679#M30804</link>
      <description>&lt;P&gt;I'm not sure I understand your reply Brian.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A couple of post ago you wrote&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; $ &amp;nbsp;PIPE TYPE '&lt;STRONG&gt;PASSPHRASE_FILE'﻿&lt;/STRONG&gt;| gpg --passphrase-fd 0﻿ ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Works,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I assume here that "PASSPHRASE_FILE" is just a symbol containing the full path to the file containing the passphrase.&amp;nbsp;&amp;nbsp; Now bear in mind I am using a different, much older version than you, how is this different from what I wrote??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e.&amp;nbsp;&amp;nbsp;&amp;nbsp; $ Pipe Ty &amp;lt;passphrase_file&amp;gt; | gpg --output ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where here "&amp;lt;passphrase_file&amp;gt;" is the path to the file containing the passphrase.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp;&amp;nbsp;&amp;nbsp; the syntax&amp;nbsp; "--passphrase-fd 0﻿" does not exist in my version, (or at lease it wasnt required).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; My original response was made before the versions were discussed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I am sorry that this doesn't make any sense to you, however it does apparently make sense to my version of GnuPG and OpenVMS.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm afraid that they are the guys that matter in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 18:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323679#M30804</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2011-09-06T18:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: GnuPG not working when in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323703#M30805</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; I'd guess that the "&amp;lt;" and "&amp;gt;" in "&amp;lt;Passphrase_File&amp;gt;" are what caused&lt;BR /&gt;the confusion.&amp;nbsp; This stuff gets ambiguous when pipes are involved, and&lt;BR /&gt;"&amp;lt;" and "&amp;gt;" are used for multiple purposes..&amp;nbsp; Especially when one person&lt;BR /&gt;is using them in one way, while the other person is using them in&lt;BR /&gt;another way.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2011 18:48:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnupg-not-working-when-in-batch/m-p/5323703#M30805</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-09-06T18:48:30Z</dc:date>
    </item>
  </channel>
</rss>

