Skip to content

Add lint to check for a valid Registration Scheme in the Subject.organizationIdentifier of EV certificates#901

Merged
christopher-henderson merged 36 commits intozmap:masterfrom
defacto64:invalid_org_reg_scheme
Dec 10, 2024
Merged

Add lint to check for a valid Registration Scheme in the Subject.organizationIdentifier of EV certificates#901
christopher-henderson merged 36 commits intozmap:masterfrom
defacto64:invalid_org_reg_scheme

Conversation

@defacto64
Copy link
Copy Markdown
Contributor

This lint verifies that the organizationIdentifier Subject attribute in an EV certificate, if present, meets the requirement that...

Registration Schemes listed in Appendix H are currently recognized as valid under these guidelines.

This requirement was first introduced in section 9.2.8 of EVGL 1.7.0 and subsequently moved to section 7.1.4.2 when the EVGL were restructured.

Appendix H only allows three registration schemes: VAT, NTR, PSD. If the actual registration scheme found in the organizationIdentifier attribute is not one of those, this lint returns an Error.

Note: There are no such cases in the Zlint test corpus, however a search on Censys shows that some cases do exist.

defacto64 and others added 30 commits March 8, 2024 16:07
Added //nolint:all to comment block to avoid golangci-lint to complain about duplicate words in comment
Fine to me.

Co-authored-by: Christopher Henderson <[email protected]>
As per Chris Henderson's suggestion, to "improve readability".
As per Chris Henderson's suggestion.
Added CABFEV_Sec9_2_8_Date
@christopher-henderson christopher-henderson merged commit 0d1ece3 into zmap:master Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants