Closed garrying closed 1 year ago
Describe the bug The command to verify SBOMs using cosign verify-attestation returns an saying that --platform is an unknown flag.
cosign verify-attestation
--platform
To Reproduce Steps to reproduce the behavior:
provenance_info
cosign verify-attestation \ --type https://spdx.dev/Document \ --certificate-oidc-issuer=https://token.actions.githubusercontent.com \ --certificate-identity=https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main \ --platform=linux/amd64 \ cgr.dev/chainguard/go
Error: unknown flag: --platform main.go:74: error during command execution: unknown flag: --platform
Expected behavior Should display verification without error.
Additional context Reproduced using cosign 2.2.0
This is a dupe of this issue, I'll close + link to this to track there: https://github.com/chainguard-dev/internal/issues/3362
Describe the bug The command to verify SBOMs using
cosign verify-attestation
returns an saying that--platform
is an unknown flag.To Reproduce Steps to reproduce the behavior:
provenance_info
I think)Expected behavior Should display verification without error.
Additional context Reproduced using cosign 2.2.0