Newbie: Commandline still prompting for passphrase?

MarkB123 mbrownlee at orbisoft.com
Sat Sep 22 02:30:46 CEST 2012


Thanks. I was able to get it to work using the --batch command. 


John Morris-8 wrote:
> 
> 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 at gnupg.org
>> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 
> 
-- 
View this message in context: http://old.nabble.com/Newbie%3A-Commandline-still-prompting-for-passphrase--tp34450891p34465038.html
Sent from the GnuPG - User mailing list archive at Nabble.com.




More information about the Gnupg-users mailing list