-
Notifications
You must be signed in to change notification settings - Fork 558
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
consider attaching attestations to the OCI registry but verify its signature first #1202
Comments
Why would you want to do that? I mean cosign is a project about signing things :) |
yep, but it also allows us to attach things, so I think attestations could be one of them |
This is maybe something separate, but I was a bit confused by the As for the ability to attach the attestation without signing, @developer-guy what would the main customer use case be behind not signing the attestation? All it requires is that a private key is presented, which is possible in just about every use-case? It could also lead to situations where users of cosign think that |
Is the idea that you'd sign with some other way, then upload/attach the already signed attestation? I could see that being useful (basically just decomposing the |
Yeah I could see this being helpful. As I said though, the one caveat being care taken over ensuring the user understands that cosign (in this case) will not sign the attestation. |
kindly ping @dlorenc |
also related with #1216 |
Yeah, attaching an already signed attestation works for me. Like @ChaosInTheCRD said, we should verify it's a signed attestation first to make it safe. |
Amazing ! |
Seems wrong issue is closed @dlorenc 😊 |
my bad 🤦🏻♂️ it should close #959, and I closed it manually. |
Description
As we support attaching SBOMs and signatures by using the
cosign attach
command, why don't we add attaching attestation files support as an addition to that? The only option people have is thatcosign attest,
but it also signs the attestation and attaches it to the OCI Registry. What I want to do is that only store the attestation files in OCI registries.cc: @dlorenc @hectorj2f
The text was updated successfully, but these errors were encountered: