-
Notifications
You must be signed in to change notification settings - Fork 552
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
Plan for Reference Types Work! #1397
Comments
We should track the reference type work in GGCR's |
Perhaps this is something to cross-post in GGCR repo, but yesterday the extensions proposal was merged: Regarding fallback options, etc., this is how clients will be able to determine if experimental APIs defined in the working group are exposed by a given registry |
Just want to bump this now that the working group for reference types has concluded: https://github.com/opencontainers/wg-reference-types |
There's some work ongoing in ggcr now: google/go-containerregistry#1455 When that gets closer to landing I will try to see how cosign should use it, to make sure it's a good fit, and so sigstore-go gets a good go API for discovering attached things by type. We'll probably also need cosign to maintain a compat mode for some time (forever?) so signatures etc that were attached using cosign's scheme remain discoverable. That code should only live in sigstore-go. If folks have opinions or ideas about how they'd like this to look and feel please share! |
See #2684 |
I'm super excited about this! |
#2684 "only" handles signatures and SBOMs, which is great! Is the same thing eventually planned for attestations, too? I still cannot decide if I should publish my SBOMs as sbom- or att-artifacts. |
Yes! We just wanted to get something out so people could play with it, then fine-tune the support before we drop the "experimental" tag. |
Now that the Unfortunately #2684 only added (experimental) support for signatures and sbom-attachments (which are now deprecated), but not for attestations. This is unfortunate, because the zot registry does not support docker-specific media types:
Signatures and sbom-attachments work fine with Zot (when using the experimental oci-1-1 mode), but not attestations. |
Sorry to bump this, but is there a roadmap for this? There hasn't been any activity in this issue for a year now. Is there even any interest in supporting to store signatures and attestations as true OCI artifacts? The deprecation of SBOM attachments makes it impossible for us to publish SBOMs as attestations to a registry that doesn't support proprietary docker image types. |
Description
The reference types work is off and running now in OCI, and we should start to think through how we'll adopt it here in cosign.
Assuming the work completes, gets adopted by registries, and meets all the use cases required by cosign, we still have a few choices to make!
I think as soon as there's a workable draft spec merged in https://github.com/opencontainers/wg-reference-types, we should create a dev branch here in cosign to let people try it out, without us needing to answer the fallback questions right away. Maybe a "cosign-oci-ref" build or something that only works with the new APIs.
We could also publish and run a ttl.sh-like ephemeral registry that supports the new API as it gets developed, to let people try it out against a real endpoint without requiring them to run something locally.
The text was updated successfully, but these errors were encountered: