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

Daniel Kahn Gillmor dkg at
Sat Dec 10 18:31:05 CET 2016

On Sat 2016-12-10 11:30:53 +0100, Ondřej Střeštík wrote:

> Today i appeard i can not import new public keys every time when i try gpg
> --import i will
> gpg: error writing keyring '/home/user/.gnupg/pubring.kbx': Unexpected
> error
> gpg: key 4D3DE5CC4DAC4561: public key "[User ID not found]" imported
> gpg: error reading 'Dokumenty/key.asc': Unexpected error
> gpg: import from 'Dokumenty/key.asc' failed: Unexpected error
> gpg: Total number processed: 0
> gpg:               imported: 1
> When i try re-import some old ones a everything is OK.

this sounds like a permissions problem to me.  what are the permissions
of Dokumenty/key.asc?  what are the permissions of
/home/user/.gnupg/pubring.kbx and /home/user/.gnupg ?  what user account
are you running "gpg --import" from?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: </pipermail/attachments/20161210/943c910e/attachment.sig>

More information about the Gnupg-users mailing list