gpg: There is no assurance this key belongs to the named user
Matthias Apitz
guru at unixarea.de
Fri Oct 25 20:17:22 CEST 2019
El día martes, octubre 22, 2019 a las 08:18:36p. m. +0200, Matthias Apitz escribió:
> 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?
Is this a FAQ or otherwise stupid question, or what's the reason that
nobody wants to give me some hint about this? Thanks
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
More information about the Gnupg-users
mailing list