Skip to content

Add some lints for OCSP Responder certificates#1002

Merged
christopher-henderson merged 43 commits into
zmap:masterfrom
defacto64:master
Nov 9, 2025
Merged

Add some lints for OCSP Responder certificates#1002
christopher-henderson merged 43 commits into
zmap:masterfrom
defacto64:master

Conversation

@defacto64

Copy link
Copy Markdown
Contributor

These that I propose here are some of the various lints that can (should) be developed to check that OCSP Responder certificates comply with CABF TLS BRs section 7.1.2.8 (OCSP Responder Certificate Profile).

There are no cases in the Zlint test corpus that trigger these lints, however some can be found on Censys, and in any case every now and then some incidents do happen related to defective OCSP Responder certificates (as recently seen on Bugzilla).

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 <chris@chenderson.org>
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 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very clean and easy, thank you!

And I see what you meant by "micro lints". It's often tempting to apply DRY and centralize logic, but sometimes the acrobatics just aren't worth it 🤷

@christopher-henderson christopher-henderson merged commit cfa6a89 into zmap:master Nov 9, 2025
4 checks passed
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