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
Per the specification here, I was wondering if I could make a change so that the media type can be changed in this constructor. When the cosign attach attestation command is used I believe that the type should be application/vnd.dsse.envelope.v1+json
If this is not correct I can close this issue. If this does need follow-up I can create a PR today to update the command to use the correct media type.
Thanks again!
The text was updated successfully, but these errors were encountered:
Description
When I was using the
cosign attach attestation
command I saw in the code that layer media type is always going to bectypes.SimpleSigningMediaType
.cosign/cmd/cosign/cli/attach/attestation.go
Lines 71 to 74 in 70d4cce
cosign/pkg/oci/static/signature.go
Lines 38 to 42 in 70d4cce
cosign/pkg/oci/static/options.go
Lines 38 to 42 in 70d4cce
Per the specification here, I was wondering if I could make a change so that the media type can be changed in this constructor. When the
cosign attach attestation
command is used I believe that the type should beapplication/vnd.dsse.envelope.v1+json
If this is not correct I can close this issue. If this does need follow-up I can create a PR today to update the command to use the correct media type.
Thanks again!
The text was updated successfully, but these errors were encountered: