Skip to content
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

container image signature verification at containerd #10066

Open
arronwy opened this issue Apr 11, 2024 · 2 comments
Open

container image signature verification at containerd #10066

arronwy opened this issue Apr 11, 2024 · 2 comments
Labels
kind/duplicate Duplicated issues

Comments

@arronwy
Copy link

arronwy commented Apr 11, 2024

What is the problem you're trying to solve

Allow image singing verification at container runtime, currently docker and cri-o already support this feature.

I only found a containerd/cri#624 discussing this issue before, not sure current status of this feature in containerd.

Describe the solution you'd like

https://kubernetes.io/blog/2023/06/29/container-image-signature-verification/
https://docs.docker.com/engine/security/trust/

Additional context

No response

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda added kind/duplicate Duplicated issues and removed kind/feature labels Apr 12, 2024
@arronwy
Copy link
Author

arronwy commented Apr 15, 2024

Thanks @AkihiroSuda , I found image verification works with ctr command, but failed for CRI images, do we have issue to track this feature for CRI images?

ctr image pull --local=false index.docker.io/library/alpine@sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69
ctr: rpc error: code = Unknown desc = image verifier bindir blocked pull of index.docker.io/library/alpine@sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69 with digest sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69 for reason: verifier verifier rejected image (exit code 1): Rejected
crictl pull index.docker.io/library/alpine@sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69
Image is up to date for sha256:24c8ece58a1aa807c0d8ea121f91cee2efba99624d0a8aed732155fb31f28993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/duplicate Duplicated issues
Projects
None yet
Development

No branches or pull requests

2 participants