fluxcd / source-controller

The GitOps Toolkit source management component
https://fluxcd.io
Apache License 2.0
238 stars 187 forks source link

Update cosign to v2.0.2 #979

Closed developer-guy closed 1 year ago

developer-guy commented 1 year ago

Abstract

OCI Reference Types has made a tremendous effort to make the relationships easier between the OCI Image and its materials such as SBOMs, attestations, vuln scan results, and build information. go-containerregistry is working on adding support for the Referrers API. Once this has landed, cosign plans to change how to store signatures. It will also affect the Flux projects since they use cosign under the hood to verify the signatures of the OCI Artifacts.

Helper Resources

/cc @souleb @stefanprodan @Dentrax

developer-guy commented 1 year ago

https://github.com/sigstore/cosign/pull/2684

developer-guy commented 1 year ago

https://www.chainguard.dev/unchained/building-towards-oci-v1-1-support-in-cosign

souleb commented 1 year ago

Thanks @developer-guy, after reading the PRs, my understand is that with the fall back for 1.0 registries there is nothing to do in Flux.

stefanprodan commented 1 year ago

We need to update SC to latest cosign as rekor has a CVE. This is not just a simple bump in go.mod as cosign v2 comes with many breaking changes. Can someone please look into it?

makkes commented 1 year ago

related: #1083