gpg2 2.1.5 exports non existing private keys

Meno Abels meno.abels at adviser.com
Fri Oct 7 19:13:43 CEST 2016


Hi my keys should be in a smartcard and the card is not attached

meno

On Fri, Oct 7, 2016, 18:23 Daniel Kahn Gillmor <dkg at fifthhorseman.net>
wrote:

> Hi Meno--
>
> On Fri 2016-10-07 10:07:24 -0400, Meno Abels wrote:
>
> > i have on my system no private keys and 2.0.30_2 does this:
> >
> > /usr/local/Cellar/gnupg2/2.0.30_2/bin/gpg2 --export-secret-keys -a
> xxxxxBEEF
> > gpg: WARNING: nothing exported
>
> how do you know that you have no private keys?  do you have anything in
> ~/.gnupg/private-keys-v1.d/ ?
>
> > if i do this with 2.1.15 i get:
> >
> > -----BEGIN PGP PRIVATE KEY BLOCK-----
> > Comment: GPGTools - http://gpgtools.org
> >
> > lDsEV02MJBYJKwYBBAHaRw8BAQdAHBS1e25+m5QZw7zU0giU6pNotiW7wj2boJzg
> > 5bAKXV//…..
> > ….
> >
> > is this the right behaviour?
>
> versions of GnuPG before 2.1 kept their OpenPGP secret key material in
> ~/.gnupg/secring.gpg.  since 2.1, secret key material is stored in the
> gpg-agent itself, which by default will manage them in
> ~/.gnupg/private-keys-v1.d/.
>
> hth,
>
>         --dkg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20161007/1279ccbf/attachment-0001.html>


More information about the Gnupg-devel mailing list