Skip to content

Ceremony: allow CRL ceremonies to skip certain lints#8368

Merged
aarongable merged 2 commits intomainfrom
crl-ceremony-lints
Aug 22, 2025
Merged

Ceremony: allow CRL ceremonies to skip certain lints#8368
aarongable merged 2 commits intomainfrom
crl-ceremony-lints

Conversation

@aarongable
Copy link
Copy Markdown
Contributor

Zlint has added more lints, some of which (like zmap/zlint#916) are insufficiently smart and can't tell the difference between a Subscriber CRL and a Root CRL. We need the ability to skip lints like this, so give the CRL ceremony the same capability as we already have for our various certificate ceremonies.

@aarongable aarongable requested a review from a team as a code owner August 21, 2025 20:20
@mcpherrinm
Copy link
Copy Markdown
Contributor

Skipping lints seems like a reasonable feature.

For that zlint issue though, do we want to configure the lint instead of ignoring it? It seems like adding support for lint configuration that might be even more useful for solving this particular issue

@aarongable
Copy link
Copy Markdown
Contributor Author

aarongable commented Aug 21, 2025

Making lints configurable is a much larger change which will affect the whole //linter package, and therefore our prod issuance as well, not just the ceremony tool. I think the simpler route is better for now.

Also, we have this specific check hardcoded in the ceremony tool already:

// Verify that the CRL is not valid for more than 12 months as specified in
// CABF BRs Section 4.9.7
if nextUpdate.Sub(thisUpdate) > time.Hour*24*365 {
return nil, errors.New("nextUpdate must be less than 12 months after thisUpdate")
}

@aarongable aarongable merged commit d6e4f9a into main Aug 22, 2025
12 checks passed
@aarongable aarongable deleted the crl-ceremony-lints branch August 22, 2025 20:14
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.

4 participants