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

WIP: Add Support for verifying attestations #7

Closed
wants to merge 10 commits into from

Conversation

ChaosInTheCRD
Copy link

Adding support to verify attestations for an image.

Based on #6 so must be merged after.

ribbybibby and others added 6 commits January 11, 2022 10:51
Different images will require different verification options. This
commit adds configuration that allows you to define different
'verifiers' for specific image references, or image reference patterns.

At the moment it supports verification by public key, or the existing
options, but should be expanded to include all supported options.

Also modifies the response from the provider to include an error
per-image checked, rather than returning any error as a 'system' error.

I've also removed the _invalid suffix from the key returned in the
response when there's an error. The presence of the 'error' field
indicates this better, I think.

Signed-off-by: Rob Best <[email protected]>
provider.go Outdated Show resolved Hide resolved
Co-authored-by: Rob Best <[email protected]>
provider.go Outdated Show resolved Hide resolved
provider.go Outdated Show resolved Hide resolved
provider.go Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

2 participants