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
When I go to do any kind of validation now though it expects a custom type:
COSIGN_EXPERIMENTAL=1 cosign verify-attestation caphill4/scratch:latest
Error: none of the attestations matched the predicate type: custom
main.go:62: error during command execution: none of the attestations matched the predicate type: custom
I did not expect this error since I passed a known spdxjson type to the command.
I'm also seeing the same behavior in the syft integration which used its own custom type not present here:
Is it expected for all attestation going forward to use custom, or is there a bug where verify-attestation should be more permissive for the types? Version
Description
👋 Thanks for looking at this issue
I noticed some changes in cosign the other day and wanted to get some clarification from the community:
Running the attest command is still producing the correct output I expect:
When I go to do any kind of validation now though it expects a custom type:
I did not expect this error since I passed a known
spdxjson
type to the command.I'm also seeing the same behavior in the syft integration which used its own custom type not present here:
cosign/cmd/cosign/cli/options/predicate.go
Lines 30 to 49 in 95b74db
Is it expected for all attestation going forward to use
custom
, or is there a bug where verify-attestation should be more permissive for the types?Version
The text was updated successfully, but these errors were encountered: