Skip to content

Support verification of multiple subjects #363

Closed
@codysoyland

Description

@codysoyland

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions