From: jeff <jeff@jeffunit.com>
To: cygwin@cygwin.com
Subject: Re: problem with gnupg2 not prompting for passphrase
Date: Mon, 10 Jul 2017 22:38:00 -0000 [thread overview]
Message-ID: <19170552-87dc-ffc3-b396-8cfd203ead91@jeffunit.com> (raw)
In-Reply-To: <87eftoxcty.fsf@Rainer.invalid>
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
>> 2013-03-21
>> "Jeff Deifik <jeff@jeffunit.com>"
>> 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
>> version.
>
> 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.
Using gnupg2:
gpg2 --export -a "Jeff Deifik"
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBEt8tlURBACkuHVVgDFnNK9JeY9JbaoBwyaiCebmUPbp66YIMjRi4LKHOsYG
zVR0XUlYfB9M7S6td8HEOhakjpjXFdSzBqWzFEhBKhnl4r2lPU7WxH/+f8Tmyuuo
...
gpg2 --export-secret-key -a "Jeff Deifik"
gpg: key XXX: error receiving key from agent: No such device or address
- skipped
gpg: key FXXX: error receiving key from agent: No such device or address
- skipped
gpg: key XXX: error receiving key from agent: No such device or address
- skipped
gpg: key XXX: error receiving key from agent: No such device or address
- skipped
gpg: WARNING: nothing exported
(I replaced the hex with XXX)
I suspect there is a problem with the pinentry and/or agent.
The pinentry thing seems to be a new thing with gnupg2.
jeff
--
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
next prev parent reply other threads:[~2017-07-10 22:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-10 14:30 jeff
2017-07-10 19:42 ` Thomas Wolff
2017-07-10 19:55 ` jeff
2017-07-10 20:21 ` Achim Gratz
2017-07-10 22:38 ` jeff [this message]
2017-07-11 5:07 ` Thomas Wolff
2017-07-11 17:51 ` Brian Inglis
2017-07-11 17:56 ` jeff
2017-07-11 18:10 ` Garber, Dave (GE Oil & Gas, Non-GE)
2017-07-11 18:18 ` jeff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19170552-87dc-ffc3-b396-8cfd203ead91@jeffunit.com \
--to=jeff@jeffunit.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).