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



_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to