Batch Program Needs to Bypass the Passphrase

Gates, Scott SGates at
Thu Oct 9 10:31:55 CEST 2003

I got by the problem by not signing the encrypted file. I know that's
probably a faux pas for some, but, worked for me. 

..\GPG --homedir .. --options ..\gpg.conf -er  apsmedbill %1.txt 

-----Original Message-----
From: Kordet, Kimberly [mailto:Kimberly.Kordet at] 
Sent: Tuesday, October 07, 2003 3:44 PM
To: 'gnupg-users at'
Subject: Batch Program Needs to Bypass the Passphrase


I am writing a batch program (.bat) to encrypt and decrypt files.  However,
I'm having trouble figuring out how to NOT have it prompt me for a
passphrase.  I've looked up things on --passphrase-fd 0 and environment
variables, but I can't seem to find the actual steps to follow to get it
working properly.

Please let me know if you can help!


Gnupg-users mailing list
Gnupg-users at

More information about the Gnupg-users mailing list