-
Notifications
You must be signed in to change notification settings - Fork 14
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
The artifactType for cosign signatures is wrong #41
Comments
Hi Yi, thanks for bring this up. The artifact type string is used to match the artifact against the verifier configured. I agree in many our examples, there is a lack of standards. For example, in this learning doc , the artifact type used in the oras command is "--artifact-type example/sbom". We should take an action here to understand what are the common attach command used (There is no enforcement that the artifact type is same as the mediaType), i also wonder if Ratify could validate signature from the with the cosign attach command |
@yizha1 Are we sure the artifactType of the cosign signature should be changed? The current cosign signatures which are pushed as Image manifest indeed have layer media type of |
@akashsinghal Here is what I did:
Use "artifact Types": "application/vnd.dev.cosign.artifact.sig.v1+json" for cosign verifier config
|
The artifactType for Cosign signature should be
application/vnd.dev.cosign.simplesigning.v1+json
. However, the document usedapplication/vnd.dev.cosign.artifact.sig.v1+json
The text was updated successfully, but these errors were encountered: