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
Using ArtifactPolicyOptions, the verifier supports checking in-toto statement subjects for a specific artifact digest. The artifact is provided using verify.WithArtifact or verify.WithArtifactDigest. I propose adding verify.WithArtifacts(artifacts []io.Reader)/verify.WithArtifactDigests([]ArtifactDigest) to specify multiple artifacts that must all pass verification. Multi-subject verification will fail unless the bundle content is DSSE and contains an in-toto statement with a subject referencing all provided artifacts.
The text was updated successfully, but these errors were encountered:
Description
Using ArtifactPolicyOptions, the verifier supports checking in-toto statement subjects for a specific artifact digest. The artifact is provided using
verify.WithArtifact
orverify.WithArtifactDigest
. I propose addingverify.WithArtifacts(artifacts []io.Reader)
/verify.WithArtifactDigests([]ArtifactDigest)
to specify multiple artifacts that must all pass verification. Multi-subject verification will fail unless the bundle content is DSSE and contains an in-toto statement with a subject referencing all provided artifacts.The text was updated successfully, but these errors were encountered: