C:\Program Files\GNU\GnuPG>gpg --passphrase-fd=ohiohea1th_is --decrypt --output decrypted.txt tstfil e.asc Reading passphrase from file descriptor 0 ... You need a passphrase to unlock the secret key for user: "derek smith" 2048-bit ELG-E key, ID 985DB557, created 2005-12-30 (main key ID 4A673EF3) gpg: encrypted with 2048-bit ELG-E key, ID 985DB557, created 2005-12-30 "derek smith" gpg: public key decryption failed: bad passphrase gpg: decryption failed: secret key not available #### --passphrase-fd= open (PASS, "+<$pass") using . fileno(PASS) I get this error: Reading passphrase from file descriptor 3 ... You need a passphrase to unlock the secret key for user: "derek smith" 2048-bit ELG-E key, ID 985DB557, created 2005-12-30 (main key ID 4A673EF3) gpg: encrypted with 2048-bit ELG-E key, ID 985DB557, created 2005-12-30 "derek smith" gpg: public key decryption failed: bad passphrase gpg: decryption failed: secret key not available Press any key to continue . . . #### C:\Program Files\GNU\GnuPG>echo ohiohea1th_is|gpg --passphrase-fd=0 --decrypt --output decrypted.txt tstfile.asc Reading passphrase from file descriptor 0 You need a passphrase to unlock the secret key for user: "derek smith" 2048-bit ELG-E key, ID 985DB557, created 2005-12-30 (main key ID 4A673EF3) gpg: encrypted with 2048-bit ELG-E key, ID 985DB557, created 2005-12-30 "derek smith" C:\Program Files\GNU\GnuPG>dir Volume in drive C is IBM_PRELOAD Volume Serial Number is 2863-8FD9 Directory of C:\Program Files\GNU\GnuPG 12/30/2005 02:49 PM . 12/30/2005 02:49 PM .. 12/30/2005 02:49 PM 15 decrypted.txt