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

Implement verify command on slsa-provenance-action cli #43

Open
marcofranssen opened this issue Oct 12, 2021 · 2 comments
Open

Implement verify command on slsa-provenance-action cli #43

marcofranssen opened this issue Oct 12, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@marcofranssen
Copy link
Member

Once we have provenance generated, it would also be handy to be able to verify the provenance.

In practice this means we need to be able to execute the attestations from the in-toto statement.

Verifying the provenance file would in general be something that is executed in a admission-controller before something is installed in production.

See here a reference of the in-toto statement

https://github.com/in-toto/attestation

See here another binary implementing in-toto including a verify command.

https://github.com/in-toto/in-toto-golang

@marcofranssen marcofranssen added the enhancement New feature or request label Oct 12, 2021
@Brend-Smits
Copy link
Member

What will we verify if our provenance file and steps/materials are not signed? Perhaps I'm misunderstanding something here. Of course, we could verify that the file has a proper format, but this does not seem like the objective of this command.

I'm trying to understand how this would apply in our situation.

@Brend-Smits
Copy link
Member

After discussion, this issue is more of a project on its own. We need to perform various steps before we can tackle this like:

  • Signing various steps that are required to reproduce
  • Signing provenance file
    Since we are focussing on SLSA level 1, we will not be tackling this issue yet.

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

2 participants