import key failure, apparent bug

Werner Koch wk at gnupg.org
Fri May 29 13:45:54 CEST 2026


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


-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20260529/fe2fe3f5/attachment.sig>


More information about the Gnupg-users mailing list