[Top] [All Lists]

Re: [openpgp] Stripped Primary Secret Keys

2022-05-09 09:24:35
On Mon,  9 May 2022 12:28, Paul Schaub said:

Could you by the way elaborate on the reasons why you think it is not
possible to just omit the secret key packet? Clearly the specification

Because a secret key packet has different properties than a public key
packet.  Even if the real secret information has been stripped there is
still tye information that it is a secret key packet.

Parser stuff is not an issue and it is easy to use just one parser.

  is_secret = tag_is_for_secret_sub_key();
  if is_secret
We have even taken care in rfc4880 to make it easy to parse keys with
unknown algorithms (depending on the protection mechanism due to
backward compatibility).



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

Attachment: signature.asc
Description: PGP signature

openpgp mailing list