You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally the .sig files for keyless and keyfull(?) signing will be different files, and you are passing the same .sig to both of these, which is likely the issue.
If you just sign with keyless, and then verify that signature, do you still see an issue?
$ COSIGN_EXPERIMENTAL=1 cosign verify-blob --verbose --signature cosign-linux-amd64-keyless.sig cosign-linux-amd64
tlog entry verified with uuid: "30833cb58667ffc5949e7365fd22e0212b1d64fec94931d588bb22ba7fa42384" index: 1216646
Verified OK
However:
The UI is bad, as cosign should inform the user that signature type is wrong, and keyless signature is required.
Why the signature can't be the same file? It should be possible to have multiple signatures in a single sig file. Also, maybe it could be possible to the keyless, and keyfull to generate the same signature.
Why the signature can't be the same file? It should be possible to have multiple signatures in a single sig file. Also, maybe it could be possible to the keyless, and keyfull to generate the same signature.
Description
The
cosign verify-blob
fails to verify a blob using keyless mode (inCOSIGN_EXPERIMENTAL
mode):$ cosign verify-blob --verbose --key release-cosign.pub --signature cosign-linux-amd64.sig cosign-linux-amd64 Verified OK $ COSIGN_EXPERIMENTAL=1 cosign verify-blob --verbose --signature cosign-linux-amd64.sig cosign-linux-amd64 Error: verifying blob [cosign-linux-amd64]: failed to verify signature main.go:46: error during command execution: verifying blob [cosign-linux-amd64]: failed to verify signature
Version
The text was updated successfully, but these errors were encountered: