Gnupg2 won't read the password from a fd. You must use a gpg-agent.
You can get the expected behavior from gnupg v. 1. John On 09/18/2012 11:25 PM, Mark Brownlee wrote:
echo MyPasword1432!|"C:\Program Files\GNU\GnuPG\gpg2.exe" --passphrase-fd 0 --homedir "C:\Users\Mark\AppData\Roaming\gnupg" -r "ABC Limited" -o "C:\Users\Mark\Desktop\test-sign-done.txt.gpg" -e --sign "C:\Users\Mark\Desktop\test-sign.txt" Does anyone know why the above still prompts me for a passphrase (I am trying to bypass it)? _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users