GPGforWin - Signing in CLI with passphrase

Started by jfrish, December 10, 2014, 10:28:15 AM

Previous topic - Next topic

jfrish

Here's what I got so far... but I get a prompt for my passcode everytime... I want to just save my passcode in the bat file (no one has access to this file)

in my bat file:

gpg --local-user "USERNAME" --sign "C:\FOLDERS\*.txt"

-so that gpg grabs any file in this path and signs it. (I need to do this without a passphrase pop-up

any idea's on the proper parameters to use to pass the passphrase through the bat?