Can't import new public keys (can't write tu pubring.kbx)

Werner Koch wk at gnupg.org
Sat Dec 10 20:22:55 CET 2016


On Sat, 10 Dec 2016 11:30, ondrejstrestik at gmail.com said:

> gpg: import from 'Dokumenty/key.asc' failed: Unexpected error

The reason for 'Unexpected error' is likely a broken key or a key which
does not conform to the OpenPGP specs.  For example it may have packets
which are not allowed in public key file (compressed, encrypted etc,)

Any clues form just running

  gpg Dokumenty/key.asc'

or better 

  gpg --list-packets Dokumenty/key.asc'


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: </pipermail/attachments/20161210/84c7ac81/attachment.sig>


More information about the Gnupg-users mailing list