WINDOWS - Adding passphrase to gpg via command line
MFPA
2014-667rhzu3dc-lists-groups at riseup.net
Mon May 11 09:19:21 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Monday 11 May 2015 at 6:17:59 AM, in
<mid:OFBBED2EAD.27D99E10-ONCA257E42.00195335-CA257E42.001D1CFF at LocalDomain>,
Josh Clearihan wrote:
> Requirement To automatically decrypt and encrypt files
> from cmd batch file.
> I'm experiencing issues trying to decrypt a .pgp file
> from command line.
> When running this it launches the pinentry window,
> manually requiring the passkey. gpg2.exe --output
> D:\Folder --recipient certname --decrypt
> D:\Folder\*.txt.pgp
If you set an empty passphrase for the decryption key, the pinentry
window will not appear.
- --
Best regards
MFPA <mailto:2014-667rhzu3dc-lists-groups at riseup.net>
Never lean forward to push an invisible object.
-----BEGIN PGP SIGNATURE-----
iQF8BAEBCgBmBQJVUFf8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCM0FFN0VDQTlBOEM4QjMwMjZBNUEwRjU2
QjdDNzRDRUIzMUYyNUYwAAoJEGt8dM6zHyXwDiUIAIjJnq3s1gX6ROdyXvrhsCFc
zLbBP3XjCdzwNzEYaRDP6S3XoxOb6c/RNGLsHRh0uhyjBtXSrjFbS1S5BRSwyYUD
RsslammzBquw1DOJwcWBOXA5ivTeTaOw4sWDhgB5Y1y9qUonryYLvJHEwrzmGhN0
aUD8gM02uH7JKqACzpdjC1FscoNe4UVNyJz74VwJczeVnSaT/I6E80AhTBMAYhwm
kdmcWbCeJC8/KRN4ldemQyBEU7yNdasnYF+P2hjqpr+d0PgzSS36hq1vTACSosxn
wPtRt3eF4JDg3P0OO76W7jQN4+faxgjCa4zq9Kphdqt89Fv6LadqnBU+9Gn9mY+I
vgQBFgoAZgUCVVBYCl8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNBQ0VENEVFOTEzNEVFQkRFNkE4NTA2MTcx
MkJDNDYxQUY3NzhFNAAKCRAXErxGGvd45DCiAQC0Ni8QurSE9bl49wcyjVAHguG/
bBJKzVAe9OPSxnXZjAEA7iUZZV98aXc9AcnHXftZa0Kv6FQtVCHzaO67T6+jiQ4=
=TRPA
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list