The longhornio/csi-provisioner images are signed by the build workflow with Cosign keyless signing: right after a release image is pushed, the digest of its multi-arch image index is signed using the GitHub Actions OIDC identity of the workflow, and the signature is stored in the registry and recorded in the Rekor transparency log. Images published before signing was introduced are not signed.
Verify an image with cosign v3.1.0 or later. The exact identity ties the signature to the release you expect, so an image signed for another tag is rejected:
cosign verify docker.io/longhornio/csi-provisioner:${TAG} \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity "https://github.com/longhorn/csi-provisioner/.github/workflows/build.yml@refs/tags/${TAG}"Only the multi-arch image index is signed: verify an image by its tag or index digest, not by the digest of a single-platform manifest.
A mirrored image, such as docker.io/rancher/mirrored-longhornio-csi-provisioner, keeps the same digest. If its signature was not mirrored with it, read the signature from the original repository:
COSIGN_REPOSITORY=docker.io/longhornio/csi-provisioner cosign verify <mirrored-image> ...To mirror an image together with its signature, copy its OCI referrers as well, for example with regctl image copy --referrers.