Web lists-archives.com

Re: problem with gnupg2 not prompting for passphrase

Am 11.07.2017 um 00:38 schrieb jeff:
On 7/10/2017 1:21 PM, Achim Gratz wrote:
jeff writes:
jeff_xeon:/cygdrive/u:503: gpg2 --output fred.good --decrypt fred.gpg
gpg: encrypted with 4096-bit RSA key, ID A3791E7DD935A424, created
       "Jeff Deifik <jeff@xxxxxxxxxxxx>"
gpg: public key decryption failed: No such device or address
gpg: decryption failed: No secret key

I have uninstalled the standalone version of gnupg2 before I did this.
It seems most likely that the version of gpg2 being invoked is a cygwin
It fails to find your private key, so it is quite obviously not in a
place where gpg2 expects to find it.
I have my keys stored in $HOME/.gnupg which is where gnupg v1 expects them.
Just guessing: Some software does not look in $HOME for config files (e.g. openssh) but expects them in /home/...

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple