WINDOWS - Adding passphrase to gpg via command line

Josh Clearihan Josh.Clearihan at isuzu.net.au
Tue May 12 01:07:52 CEST 2015


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.Clearihan at 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-groups at riseup.net>
To:     "Josh Clearihan on GnuPG-Users" <gnupg-users at gnupg.org>
Cc:     "Josh Clearihan" <Josh.Clearihan at 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 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-----





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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150512/c9088707/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3482 bytes
Desc: not available
URL: </pipermail/attachments/20150512/c9088707/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3685 bytes
Desc: not available
URL: </pipermail/attachments/20150512/c9088707/attachment-0003.jpe>


More information about the Gnupg-users mailing list