Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support verification of multiple subjects #363

Open
codysoyland opened this issue Dec 19, 2024 · 0 comments
Open

Support verification of multiple subjects #363

codysoyland opened this issue Dec 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@codysoyland
Copy link
Member

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant