import key failure, apparent bug
Joshua Hudson
jhudson at cedaron.com
Fri May 29 16:17:56 CEST 2026
Yup; which does explain everything and apparently some libraries
think optional and some don't.
On 5/29/2026 4:45 AM, Werner Koch wrote:
> Hi!
>
> A closer inspection shows that the key is missing the 2 checksum bytes.
> According to the specs (RFC-4880 or LibrePGP):
>
> * If the string-to-key usage octet is zero or 255, then a two-octet
> checksum of the plaintext of the algorithm-specific portion (sum
> of all octets, mod 65536).
>
> A string-to-key usage octet of zero means unencrypted key material.
>
>
> Shalom-Salam,
>
> Werner
>
>
More information about the Gnupg-users
mailing list