Page MenuHome GnuPG

keydb_get_keyblock failed with cv448 key
Closed, ResolvedPublic

Description

Hi,
gpg: keydb_get_keyblock failed: Invalid object
Is anyone got this issue?
Not just sign-only Curve448 subkey, gpg will fail after any subkey(RSA/ECC [S]/[E]/[A]/[C]) is created when a keypair is generated with Curve448.
gpg can not list new generating keys after this failure.

Details

Version
2.3.2

Event Timeline

William created this object in space S1 Public.
werner renamed this task from gpg: keydb_get_keyblock failed: Invalid object to keydb_get_keyblock failed with cv448 key .Sep 20 2021, 7:35 PM
werner triaged this task as High priority.
werner edited projects, added gnupg (gpg23), OpenPGP; removed gnupg.
werner set Version to 2.3.2.

Bug in creating such a blob is fixed in rG08a3a4db27dc: kbx: A 20 byte fingerprint is right filled in version 2 blob..

We need fix to specify version 5 key for ed448/cv448, for --edit-key/addkey.

Fixed in GnuPG 2.3.3.