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

A function that transform SLSA provenance + pattern into a SLSA verification summary #153

Open
Tracked by #139
lulf opened this issue Mar 15, 2023 · 1 comment
Open
Tracked by #139
Assignees

Comments

@lulf
Copy link
Contributor

lulf commented Mar 15, 2023

Usage:

slsa::verify<my-policy-pattern>

The verify function takes a Provenance predicate, and performs a verification, producing a Verification Attestation Summary as described here.

Guidance on SLSA levels https://slsa.dev/spec/v0.1/requirements

The intended use is that consumers can create policies that enforce SLSA level 0-4 for their artifacts.

@lulf lulf self-assigned this Mar 15, 2023
@lulf lulf changed the title A function that takes as input an SLSA provenance, applies a pattern to it, and produces a SLSA verification summary from it. Usage: pattern foo = slsa::vsa<my-attestation-attern> A function that takes as input an SLSA provenance and produces a SLSA verification summary Mar 15, 2023
@lulf lulf changed the title A function that takes as input an SLSA provenance and produces a SLSA verification summary A function that transform SLSA provenance + pattern into a SLSA verification summary Mar 15, 2023
@lulf
Copy link
Contributor Author

lulf commented Mar 15, 2023

Notes to self: I originally thought this verification function would be passed the provenance document in order to create the verification document.

Instead, the the input to the verify function could be as simple as a name and a sha256 digest, and rely produce the summary based on that.

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

No branches or pull requests

1 participant