-
Notifications
You must be signed in to change notification settings - Fork 62
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: notation implementation #1885
base: develop
Are you sure you want to change the base?
Conversation
b9e7a27
to
cc68f82
Compare
# simple test cases for notation | ||
- id: unsigned | ||
txt: Testing unsigned image... | ||
ref: ghcr.io/sse-secure-systems/testimage:notation-unsign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ref: ghcr.io/sse-secure-systems/testimage:notation-unsign | |
ref: ghcr.io/sse-secure-systems/testimage:notation-unsigned |
expected_msg: error during notation validation | ||
- id: signed | ||
txt: Testing signed image... | ||
ref: ghcr.io/sse-secure-systems/testimage:notation-sign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ref: ghcr.io/sse-secure-systems/testimage:notation-sign | |
ref: ghcr.io/sse-secure-systems/testimage:notation-signed |
SignatureVerification: trustpolicy.SignatureVerification{ | ||
VerificationLevel: trustpolicy.LevelStrict.Name, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about VerifyTimestamp
? Without having looked at it this looks like something we want to have an opinion on
VerificationLevel: trustpolicy.LevelStrict.Name, | ||
}, | ||
TrustStores: utils.Map(trs, func(tr auth.TrustRoot) string { return fmt.Sprintf("ca:%s", tr.Name) }), | ||
TrustedIdentities: []string{"*"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without knowing anything, this looks weird 🤔
5c5b893
to
263a2f9
Compare
Implements the notation signature verification for container images. fixes #312
263a2f9
to
9aa9ebc
Compare
Implementation for notation
Checklist
develop
Chart.yaml
(if necessary)