Unable to batch decrypt messages on Windows

Mikkel Riber riber at calico-jack.dk
Wed Aug 3 09:32:51 CEST 2016


I looked into the code (not a c programmer - so won't comment if below
behavior was intended or not) but managed to find some hints how to decrypt
messages  with --passphrase

For me it was necessary to add --pinentry-mode loopback for it to work.. It
now looks like this:

gpg2 --decrypt --armor --pinentry-mode loopback --batch --passphrase XXXXX
enc.txt

Maybe other could find this usefull as well.

-----Original Message-----
From: Mikkel Riber [mailto:riber at calico-jack.dk] 
Sent: 4. juli 2016 07:07
To: 'MFPA' <2014-667rhzu3dc-lists-groups at riseup.net>; 'Mikkel Riber on
GnuPG-Users' <gnupg-users at gnupg.org>
Subject: SV: Unable to batch decrypt messages on Windows

Thank you very much for you input - much appreciated. Yes, it worked with
empty password. Then it is possible to decrypt passwords without
interaction.

I would however prefer to have password - any suggestions to get this to
work with password?

-----Oprindelig meddelelse-----
Fra: MFPA [mailto:2014-667rhzu3dc-lists-groups at riseup.net] 
Sendt: 24. juni 2016 20:18
Til: Mikkel Riber on GnuPG-Users <gnupg-users at gnupg.org>
Cc: Mikkel Riber <riber at calico-jack.dk>
Emne: Re: Unable to batch decrypt messages on Windows

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On Thursday 23 June 2016 at 10:20:06 AM, in
<mid:000001d1cd30$6f1a1680$4d4e4380$@calico-jack.dk>, Mikkel Riber
wrote:


> Any input is welcome, thank you.

Does it work if you simply use a key for which you have set an empty
password?



- --
Best regards

MFPA                  <mailto:2014-667rhzu3dc-lists-groups at riseup.net>

You can't build a reputation on what you are going to do -----BEGIN PGP
SIGNATURE-----

iQF8BAEBCgBmBQJXbXlLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCM0FFN0VDQTlBOEM4QjMwMjZBNUEwRjU2
QjdDNzRDRUIzMUYyNUYwAAoJEGt8dM6zHyXwbNkH/19khCFnXCmwDW0NX4bnfaPe
QTW78fKxCNdSWoknzVpQOa496LZwVUIt5PwPACm8a1+6/MPNB5XUwgjUazX797Wd
n+6mM+G74iLawjQrPiXjjwDbEy4cGIkzjz5+To/jptNTNFSDWYKfVhWAe9TOw0Md
tMWoqnmFfsd3UrbaCEryBgaNyu7EUhAzm6RU5hPwTrmLzQFgrI3pFR30GNWNQmcb
QDqMJ7rihM7nrk4F+XgdwgKk/Hs61CQB3ZTgd4KAr90VNn+hbeoqQ7CUTZCiJs1M
I6IdcuwX4i/Q9qKHGHbce/jsqk6Xsj+hkkcnvmQ/dTNLupmnch2TXy8Kmv7kPP6I
vgQBFgoAZgUCV215WV8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNBQ0VENEVFOTEzNEVFQkRFNkE4NTA2MTcx
MkJDNDYxQUY3NzhFNAAKCRAXErxGGvd45OJFAQCiBzXyZOAjdZ14iaH97UOCppwy
pbg6E/sBZK32d1BC+QEAvL0ofIhKrZcHtcBPb36Nlqs2Qij18F6dpY0VY8rYygg=
=GJPe
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list