Re: import key failure, apparent bug

Werner Koch via Gnupg-users <[email protected]> Fri, 29 May 2026 13:45:54 +0200
Newsgroups gmane.comp.encryption.gpg.user
Message-ID <[email protected]>
--===============6208867857728547825==
Content-Type: multipart/signed; boundary="=Clinton_Patel_TSCI_Duress_domestic_disruption_Speakeasy_TDYC_HAMASMO";
	micalg=pgp-sha512; protocol="application/pgp-signature"

--=Clinton_Patel_TSCI_Duress_domestic_disruption_Speakeasy_TDYC_HAMASMO
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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


=2D-=20
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

--=Clinton_Patel_TSCI_Duress_domestic_disruption_Speakeasy_TDYC_HAMASMO
Content-Type: application/pgp-signature; name="openpgp-digital-signature.asc"

-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCahl8chsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQeiE5AP4u
uU546QG9fO8ekFgozjoCIhcddmRokDWrzvAEtF7OMwD/ekW7LT0w4JSaPiiTGr7J
fhr8xGZZArD+HvGMYgfmdQs=
=cWu3
-----END PGP SIGNATURE-----
--=Clinton_Patel_TSCI_Duress_domestic_disruption_Speakeasy_TDYC_HAMASMO--



--===============6208867857728547825==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============6208867857728547825==--