Skip to content

Commit

Permalink
Fix SPKI Encoding Lint's RSA BR Section (#679)
Browse files Browse the repository at this point in the history
The RSA AlgorithmIdentifier is specified in 7.1.3.1.1. ECDSA is referenced in 7.1.3.1.2
https://github.com/cabforum/servercert/blob/main/docs/BR.md#71311-rsa
  • Loading branch information
jdkasten authored Jun 10, 2022
1 parent ed6287a commit c32f6d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type algorithmObjectIdentifierEncoding struct{}
This lint refers to CAB Baseline Requirements (Version 1.7.4) chapter 7.1.3.1, which defines the
required encodings of AlgorithmObjectIdentifiers inside a SubjectPublicKeyInfo field.
Section 7.1.3.1.2: When encoded, the AlgorithmIdentifier for RSA keys MUST be byte‐for‐byte
Section 7.1.3.1.1: When encoded, the AlgorithmIdentifier for RSA keys MUST be byte‐for‐byte
identical with the following hex‐encoded bytes: 300d06092a864886f70d0101010500
Section 7.1.3.1.2: When encoded, the AlgorithmIdentifier for ECDSA keys MUST be
Expand Down

0 comments on commit c32f6d3

Please sign in to comment.