Skip to content

Wrong mediatype on attestation replace #4076

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

Closed
stgrace opened this issue Feb 21, 2025 · 0 comments · Fixed by #4077
Closed

Wrong mediatype on attestation replace #4076

stgrace opened this issue Feb 21, 2025 · 0 comments · Fixed by #4077
Labels
bug Something isn't working

Comments

@stgrace
Copy link
Contributor

stgrace commented Feb 21, 2025

Description

Using replace option on cosing attest, an attestation with wrong mediatype is created, namely mediaType application/vnd.docker.distribution.manifest.v2+json instead of application/vnd.oci.image.manifest.v1+json. This results in tool like skopeo throwing an error:

FATA[0001] Error parsing manifest for image: unsupported docker v2s2 media type: "application/vnd.oci.image.manifest.v1+json"

Version

Latest and greatest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant