image-syncer icon indicating copy to clipboard operation
image-syncer copied to clipboard

unsupported docker v2s2 media type: "application/vnd.dev.cosign.simplesigning.v1+json"

Open denverdino opened this issue 2 years ago • 1 comments

Bug Report

Type: bug report

What happened

K8s images are signed with cosign, the new MediaType is not supported yet.

ERRO[2022-06-07 21:57:25] Get blob info from gcr.io/distroless/python2.7:sha256-3b38f6aa132206f41f3e1f4d7423736a5a89c0eb5fa313e362a5bf1a78df6ad9.cosign error: unsupported docker v2s2 media type: "application/vnd.dev.cosign.simplesigning.v1+json"
ERRO[2022-06-07 21:57:25] Get blob info from gcr.io/distroless/python2.7:sha256-a2a616ac2bfe9b4387c9c7d2b3aa12b3b2360c67886d7724f44553abc6d2a1f3.cosign error: unsupported docker v2s2 media type: "application/vnd.dev.cosign.simplesigning.v1+json"
ERRO[2022-06-07 21:57:25] Get blob info from gcr.io/distroless/python2.7:sha256-a96932896d3d1d0a9b315bb31bb52c97d439520c6390ff4555e07d9f6742e0f1.cosign error: unsupported docker v2s2 media type: "application/vnd.dev.cosign.simplesigning.v1+json"
ERRO[2022-06-07 21:57:25] Get blob info from gcr.io/distroless/python2.7:sha256-f4cbc44ce4f0cfcccdb1ea7798f85932481540863986199442cfaae790400e50.cosign error: unsupported docker v2s2 media type: "application/vnd.dev.cosign.simplesigning.v1+json"

What you expected to happen

How to reproduce it (as minimally and precisely as possible)

Anything else we need to know?

Environment

  • image-syncer version:
  • OS (e.g. cat /etc/os-release):
  • Registry version (e.g. habor):
  • Others:

denverdino avatar Jun 08 '22 11:06 denverdino

Cosign signature specification is https://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md

denverdino avatar Jun 08 '22 11:06 denverdino