You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chore: Refactor how we handle verification materials #250
Right now, the verify API takes these as independent parameters, along with some other options (which will grow over time, as we support different configurations and verification policies):
...where VerificationBundle could be constructed from a Sigstore bundle, from individual inputs, etc., and VerificationOptions could contain settings for the expected OIDC issuer, etc.
More thinking out loud: VerificationBundle should be correct by construction, meaning that it should be impossible to create a VerificationBundle that includes an offline RekorEntrywithout checking that entry's relevancy to the rest of the verification materials.
I'm currently working on this refactor in ww/verify-api-refactor, although those changes won't include the bundle itself -- it'll only concern cleaning up the API surface and making it easier to consume bundles.
Activity
woodruffw commentedon Oct 13, 2022
One thought: a top-level
verifyAPI like this might be nice:...where
VerificationBundlecould be constructed from a Sigstore bundle, from individual inputs, etc., andVerificationOptionscould contain settings for the expected OIDC issuer, etc.woodruffw commentedon Oct 14, 2022
More thinking out loud:
VerificationBundleshould be correct by construction, meaning that it should be impossible to create aVerificationBundlethat includes an offlineRekorEntrywithout checking that entry's relevancy to the rest of the verification materials.woodruffw commentedon Nov 3, 2022
Temporarily blocked on #289 and #288, since we want this functionality in before a more general refactor.
mayaCostantini commentedon Nov 7, 2022
Was a verification bundle schema already discussed somewhere? I would be interested in taking up this issue if it has no assignee yet.
di commentedon Nov 7, 2022
@mayaCostantini Yes, here: sigstore/cosign#2131
woodruffw commentedon Nov 7, 2022
Additionally, the protobuf definition for the bundle is being developed here: https://github.com/sigstore/protobuf-specs
woodruffw commentedon Nov 7, 2022
I'm currently working on this refactor in
ww/verify-api-refactor, although those changes won't include the bundle itself -- it'll only concern cleaning up the API surface and making it easier to consume bundles.mayaCostantini commentedon Nov 7, 2022
@di @woodruffw Thank you for the info, I will look into it soon 👍
woodruffw commentedon Nov 14, 2022
Working on this in #299.