Skip to content

feat(verify)!: fallible constructor with prepared trust material - #211

Open
wolfv wants to merge 1 commit into
pre1/verification-resultsfrom
pre1/fallible-verifier
Open

wolfv wants to merge 1 commit into
pre1/verification-resultsfrom
pre1/fallible-verifier

Conversation

@wolfv

@wolfv wolfv commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #210.

Verifier::new now returns Result and rejects malformed/unsupported keys, certificates, duplicate log IDs and reversed validity windows before artifact I/O. Prepare Rekor/CT keyrings and Fulcio trust anchors once per verifier; retain dynamic validity-window checks. Constructor errors retain their crypto/trust/certificate sources.

Validation: workspace all-feature tests and strict all-target Clippy passed. Constructor regressions cover invalid Rekor keys, Fulcio/TSA certificates, duplicate CT IDs and reversed windows. Existing certificate/TSA/managed-key fixtures cover the prepared paths.

…uctor

Signed-off-by: Wolf Vollprecht <w.vollprecht@gmail.com>
@wolfv
wolfv force-pushed the pre1/fallible-verifier branch from 59edc0b to d143e37 Compare September 5, 2026 19:16
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