-
Notifications
You must be signed in to change notification settings - Fork 596
Cosign Verification Failure After Image Transfer #4207
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
Comments
We are noticing mismatches in the signature's payload section after testing on both machines. The details are as follows:
Also we did debug on cosign verify using --verbose in both machine and found tahat some mismatches in manifest section
waiting for support how to find a solution in these scenario : |
Uh oh!
There was an error while loading. Please reload this page.
I am experiencing a Cosign verification failure after transferring a signed container image between two OCI registries hosted on different servers. While the image digest remains unchanged, the signature payload appears to be modified upon attachment, causing verification errors.
Expected behaviour
We expect the Cosign signature to remain valid after transferring the signed image to a different OCI registry. The digest should stay unchanged, and verification should succeed in target mechine
The commands used in my scenario:
`Machine 1: Docker registry
Machine 2: Containerd registry
We used Skopeo to preserve the image digest, ensuring that the digest remains the same on both the source and target machines. Additionally, the signature is attached to the tag,but still facing issue
curl -X GET 'http://localhost:5000/v2/my-ubuntu-4/tags/list'
The text was updated successfully, but these errors were encountered: