-
Notifications
You must be signed in to change notification settings - Fork 379
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 adding a SystemContext override for use-sigstore-attachments #1575
Comments
Thanks for your report. Conceptually this is a c/image feature, where c/image should treat mostly the attachments as part of the primary image (for purposes of format conversion and non-registry transport support), so moving there. I’m currently tentatively thinking that this would be a per-registry/per-repo option in It’s a bit more complicated in the |
I'd propose to still have a CLI option for |
An option to do what? I’d much prefer not to add a special-case code, and an option, to (Also note that a full repo sync with |
An option to enable/disable copy of cosign-style signature artifacts. |
Ah, an option as an alternative to the |
The functionality now exists, as of #1595 (although there wasn’t a c/image release since). It is configured via |
As a user of skopeo I would like an additional flag for skopeo to automatically pick up cosign-style signatures artifacts when copying a single image or a series of images using
skopeo copy
andskopeo sync
so I can copy the signature artifacts over automatically with the image(s) that are getting copied.While the larger background is the missing specification of OCI references types which is currently discussed here, cosign adopted a fairly straight forward and portable approach to associate images and their signatures stored as OCI artifacts (sort of) with a naming convention. For a given image the signature is expected in the same repository in a manifest tag named like this:
Upon providing a the flag, skopeo should be able to probe during the copying process if such a tag exist and simply copy it over as well, retaining the name.
This is sort of a pre-cursor to let skopeo verify signed images during manifests getting copied / sync'd around (#1533). The use case for simple signature copy is to allow mirroring of signed images for the benefit of being able to verify those images in the target registry. Sometimes the environment of the target registry is even disconnected by a physical air-gap.
Background: Quay is a heavy user of skopeo and would like to rely on it natively to capture potential signature artifacts during repository mirror configurations.
The text was updated successfully, but these errors were encountered: