Trust assignment fails for key with fingerprint ending in multiple zero blocks

Ingo Klöcker kloecker at kde.org
Thu Jun 26 21:44:23 CEST 2025


On Donnerstag, 26. Juni 2025 09:39:27 Mitteleuropäische Sommerzeit To Damon 
via Gnupg-users wrote:
> I've tried to fix the trustdb following the recommended steps (exporting
> ownertrust, deleting trustdb.gpg, and importing ownertrust), but the issue
> still persists. When I run gpg --list-secret-keys --with-fingerprint
> --with-keygrip, I see the following warning:
> 
> gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr:
> 51f9e32f62fa6745c5cb09c2412a0000 gpg: Note: ultimately trusted key
> 0000000000000000 not found
> gpg: no ultimately trusted keys found
> 
> And when trying to sign:
> 
> echo "test" | gpg --clear-sign --user 412A000000000000

I suppose you meant --local-user. The --user option that you used is an 
(undocumented) alias of the --recipient option "to help users of the PGP 
command line product use gpg with minimal pain" (as a comment in the source 
code mentions).

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250626/217dc020/attachment.sig>


More information about the Gnupg-users mailing list