Skip to content

Add lint to check that the notBefore timestamp is not too early compared to the SCTs#1022

Merged
christopher-henderson merged 21 commits into
zmap:masterfrom
defacto64:excessively_backdated
Feb 15, 2026
Merged

Add lint to check that the notBefore timestamp is not too early compared to the SCTs#1022
christopher-henderson merged 21 commits into
zmap:masterfrom
defacto64:excessively_backdated

Conversation

@defacto64

Copy link
Copy Markdown
Contributor

Following a recent incident, as seen on bugzilla, I thought it would be useful to develop a simple lint that verifies compliance with §7.1.2.7 of the CABF TLS BRs, which requires that...

...notBefore [must be] a value within 48 hours of the certificate signing operation

In general, there is no way to determine, by just examining a certificate, when it was signed. However, since the certificate signing time cannot be earlier than the timestamps included in any SCTs, verification is possible when the certificate includes SCTs, as is done in this lint.

@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.

Clean and easy lint, thank you!

@christopher-henderson christopher-henderson merged commit 505d5f4 into zmap:master Feb 15, 2026
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