sigstore / cosign

Code signing and transparency for containers and binaries
Apache License 2.0
4.41k stars 542 forks source link

cosign attach command couldn't attach the rekor-bundle to an image #3678

Closed ArubaTest closed 5 months ago

ArubaTest commented 5 months ago

Description

My requirement is to copy signature from one docker registry location to another registry location, together with the image.

This is what i did for the signature file to achieve this goal:

Version cosign version: 2.2.4

Solution: Cosign attach should attach the rekor-bundle if rekor-response flag is provided by the user.

Discussion at https://github.com/sigstore/cosign/issues/3458

haydentherapper commented 5 months ago

Dup of https://github.com/sigstore/cosign/issues/3458

Will try to circle back to this issue soon, sorry it's been open for awhile.