Patch for keybox search with ED448 subkeys of v4 key
Kyle Butt
kyle at iteratee.net
Tue Nov 7 03:06:03 CET 2023
I hit a bug at head recently because I had generated some ED448 subkeys
of one of my keys. Looking up the public key block of the key id fails.
It fails because the ED448 key has a 32 bit fingerprint and uses the
first 64 bits as a long fingerprint. The lookup doesn't take this into
account, because it assumes the same length of fingerprint for all
subkeys beneath a key.
I've attached a patch that corrects the behavior when searching the
keybox.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keybox-search.patch
Type: text/x-diff
Size: 1364 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20231106/0a6109b9/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20231106/0a6109b9/attachment.sig>
More information about the Gnupg-devel
mailing list