Unknown key in gpg-agent

Werner Koch wk at gnupg.org
Wed Aug 26 11:29:39 CEST 2020


Hi!

it works for me:

$ ~/b/gnupg-2.2/g10/gpg -k \&E9CAF66DDA858EE60D654C864BB8E12E41C78242
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
pub   rsa4096 2011-05-16 [C] [expires: 2050-12-31]
      85D4CA42952C949B175362B379D0B06F4E20AF1C
[...]

The difference is that you use the legacy pubring.gpg and I use the
pubring.kbx.  It is quite possible that keygrip based lookup does not
work with the old format - I have not checked.

Try this:

--8<---------------cut here---------------start------------->8---
cd ~/.gnupg
gpg --export-options backup --export >allkeys.gpg
mv pubring.gpg pubring.gpg-saved
gpg --import-options restore --import <allkeys.gpg
rm allkeys.gpg
--8<---------------cut here---------------end--------------->8---


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200826/9e36030c/attachment.sig>


More information about the Gnupg-users mailing list