Skip to content

Validate chains before NotBefore rate limiting and rename metric - #1015

Merged
phbnf merged 1 commit into
transparency-dev:mainfrom
phbnf:swaporder
Dec 3, 2026
Merged

phbnf merged 1 commit into
transparency-dev:mainfrom
phbnf:swaporder

Conversation

@phbnf

@phbnf phbnf commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Run chain validation before recording the NotBefore age histogram and checking rate_limit_old_not_before so untrusted or malformed submissions cannot exhaust the old-certificate rate-limit bucket.

Rename tesseract.notbefore.age.unverified to tesseract.notbefore.age now that it only records verified submissions.

Towards #1010: the new library will force us to do so since the corresponding cert field will now be parsed inside sunlight/chain.

Run chain validation before recording the NotBefore age histogram and
checking rate_limit_old_not_before so untrusted or malformed submissions
cannot exhaust the old-certificate rate-limit bucket.

Rename tesseract.notbefore.age.unverified to tesseract.notbefore.age
now that it only records verified submissions.
@phbnf
phbnf marked this pull request as ready for review December 3, 2026 13:10
@phbnf
phbnf requested a review from a team as a code owner December 3, 2026 13:10
@phbnf
phbnf merged commit e8eb353 into transparency-dev:main Dec 3, 2026
14 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