gpg: There is no assurance this key belongs to the named user

Matthias Apitz guru at unixarea.de
Tue Oct 22 20:18:36 CEST 2019


El día lunes, octubre 21, 2019 a las 08:38:04p. m. +0200, Matthias Apitz escribió:

> El día lunes, octubre 21, 2019 a las 07:32:48p. m. +0200, Matthias Apitz escribió:
> 
> > 
> > Hello,
> > 
> > I wanted to insert a new password into my password store, but I can't do
> > so anymore. It says:
> > 
> > $ pass insert -m web/test3
> > Enter contents of web/test3 and press Ctrl+D when finished:
> > 
> > gpg: 61F1ECB625C9A6C3: There is no assurance this key belongs to the named user
> > gpg: [stdin]: encryption failed: Unusable public key
> > Password encryption aborted.
> 
> The culprit was this file:
> 
> $ ls -l ~/.gnupg-ccid/trustdb*
> -rw-------  1 guru  wheel  1280 23 may.   2017 /home/guru/.gnupg-ccid/trustdb.gpg
> -rw-------  1 guru  wheel  1280 11 oct.  14:02 /home/guru/.gnupg-ccid/trustdb.gpg.20191011
> 
> after renaming it and restoring the previous version (not modified for
> ages) of trustdb.gpg all is fine again. What caused the change on
> October 11 remains unclear so far.

I exported both files which gives the same export:

$ ls -l trustdb.gp*
-rw-------  1 guru  wheel  1280 23 may.   2017 trustdb.gpg
-rw-------  1 guru  wheel  1280 11 oct.  14:02 trustdb.gpg.20191011
$ diff trustdb.gp*
Binary files trustdb.gpg and trustdb.gpg.20191011 differ
$ gpg2 --trustdb-name trustdb.gpg.20191011 --export-ownertrust
# List of assigned trustvalues, created Tue Oct 22 20:14:22 2019 CEST
# (Use "gpg --import-ownertrust" to restore them)
5E69FBAC1618562CB3CBFBC147CCF7E476FE9D11:6:

$ gpg2 --export-ownertrust
# List of assigned trustvalues, created Tue Oct 22 20:14:27 2019 CEST
# (Use "gpg --import-ownertrust" to restore them)
5E69FBAC1618562CB3CBFBC147CCF7E476FE9D11:6:

What does this mean? Why gpg2 was unwilling to use the file
trustdb.gpg.20191011?

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

3. Oktober! Wir gratulieren! Der Berliner Fernsehturm wird 50 
aus: https://www.jungewelt.de/2019/10-02/index.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20191022/db5cea21/attachment.sig>


More information about the Gnupg-users mailing list