Re: import key failure, apparent bug
Joshua Hudson via Gnupg-users <[email protected]> Fri, 29 May 2026 07:17:56 -0700
| Newsgroups | gmane.comp.encryption.gpg.user |
|---|---|
| Message-ID | <[email protected]> |
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 > >