Hi, Thanks, but our requirement is that the key is secured with a passphrase.
Any other ideas into what is wrong with my coding? Cheers Josh Clearihan Senior Systems Administrator 858 Lorimer Street | PO Box 107 Port Melbourne, VIC 3207 T: 03 9644 6666 | D: 03 9644 6899 F: 03 9644 6622 | M: 0437 096 974 E: josh.cleari...@isuzu.net.au Think Green! DISCLAIMER: Any views or opinions expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views or opinions of Isuzu Australia Limited. This communication is confidential. If you are not the intended recipient of this communication please delete and destroy all copies and contact the sender immediately. Any unauthorised form of disclosure or reproduction of this message is prohibited. Isuzu Australia Ltd does not guarantee the security of any information electronically transmitted. Isuzu Australia Ltd does not accept responsibility for any improper or incomplete transmission. From: MFPA <2014-667rhzu3dc-lists-gro...@riseup.net> To: "Josh Clearihan on GnuPG-Users" <gnupg-users@gnupg.org> Cc: "Josh Clearihan" <josh.cleari...@isuzu.net.au> Date: 11/05/2015 05:19 PM Subject: Re: WINDOWS - Adding passphrase to gpg via command line -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Monday 11 May 2015 at 6:17:59 AM, in <mid:OFBBED2EAD.27D99E10-ONCA257E42.00195335-CA257E42.001D1CFF@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-gro...@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----- Any views or opinions expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views or opinions of Isuzu Australia Limited. This communication is confidential. If you are not the intended recipient of this communication please delete and destroy all copies and contact the sender immediately. Any unauthorised form of disclosure or reproduction of this message is prohibited. Isuzu Australia Ltd does not guarantee the security of any information electronically transmitted. Isuzu Australia Ltd does not accept responsibility for any improper or incomplete transmission.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users