Skip to content

verify: validate revocation list before caching - #233

Open
brongan wants to merge 1 commit into
google:mainfrom
brongan:verify-crl-before-cache
Open

brongan wants to merge 1 commit into
google:mainfrom
brongan:verify-crl-before-cache

Conversation

@brongan

@brongan brongan commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Validate a fetched certificate revocation list against explicit product certificates before caching it. Cover revocation list validation and cache rejection with unit tests.

Revocation checking cached each downloaded certificate revocation list before checking its signature. An invalid list with a future expiry stayed in the cache and broke later verifications until it expired. Verifying the list as an argument before caching it avoids corrupting the cache.

@brongan
brongan force-pushed the verify-crl-before-cache branch from 69524d3 to b33bf6e Compare December 2, 2026 21:30
Validate a fetched certificate revocation list against explicit product certificates before caching it. Cover revocation list validation and cache rejection with unit tests.

Revocation checking cached each downloaded certificate revocation list before checking its signature. An invalid list with a future expiry stayed in the cache and broke later verifications until it expired. Verifying the list as an argument before caching it avoids corrupting the cache.
@brongan
brongan force-pushed the verify-crl-before-cache branch from b33bf6e to 041026e Compare December 2, 2026 21:47
@brongan
brongan marked this pull request as ready for review December 2, 2026 21:55
@brongan
brongan requested a review from onlyshawn December 2, 2026 21:55
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.

1 participant