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

Let images of kamada signed with cosign #3435

Open
2 of 4 tasks
liangyuanpeng opened this issue Apr 20, 2023 · 6 comments
Open
2 of 4 tasks

Let images of kamada signed with cosign #3435

liangyuanpeng opened this issue Apr 20, 2023 · 6 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@liangyuanpeng
Copy link
Contributor

liangyuanpeng commented Apr 20, 2023

What would you like to be added:

More and more cloud native projects started adopting Sigstore for signing and verifying artefacts, also include kubernetes. Let images of kamada signed with cosign would be great.

Would be include two point:

Why is this needed:

It would be help with the implementation of supply chain security practices on the user side.

/assign

@liangyuanpeng liangyuanpeng added the kind/feature Categorizes issue or PR as related to a new feature. label Apr 20, 2023
@liangyuanpeng liangyuanpeng changed the title Let images of kamada to sign by cosign. Let images of kamada signed with cosign Apr 20, 2023
@RainbowMango
Copy link
Member

Thanks @liangyuanpeng, I'm not familiar with the Sigstore, I need some time to investigate. By the way, can you share the example link from Kubernetes? And It would be great to have a chat at the community meeting.

@liangyuanpeng
Copy link
Contributor Author

Thanks for your quick reply. :)

can you share the example link from Kubernetes?

Absolutely, kubernetes signed release images since v1.24.0.

https://kubernetes.io/blog/2022/05/03/kubernetes-1-24-release-announcement/#signing-release-artifacts

And It would be great to have a chat at the community meeting.

I don't mind share it at meeting.

@RainbowMango
Copy link
Member

I don't mind share it at meeting.

That'd be great! Please add an agenda to the meeting notes.

@liangyuanpeng
Copy link
Contributor Author

@zishen
Copy link
Member

zishen commented May 4, 2023

Doc for metting

image

image

I have test cosign by follow k8s doc:https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/verify-signed-artifacts/ ,
But it doesnot work.
But it works by https://kyverno.io/docs/writing-policies/verify-images/#keyless-signing-and-verification, except "Verifying binary signatures".
The error is:
main.go:74: error during command execution: --certificate-identity or --certificate-identity-regexp is required for verification in keyless mode

more error detail see: here

And I found there had blob: issue-2632].
So, can you help me to verify artifacts keyless?

@zishen
Copy link
Member

zishen commented May 16, 2023

Doc for metting

image
image

I have test cosign by follow k8s doc:https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/verify-signed-artifacts/ , But it doesnot work. But it works by https://kyverno.io/docs/writing-policies/verify-images/#keyless-signing-and-verification, except "Verifying binary signatures". The error is: main.go:74: error during command execution: --certificate-identity or --certificate-identity-regexp is required for verification in keyless mode

more error detail see: here

And I found there had blob: issue-2632]. So, can you help me to verify artifacts keyless?

It is works when I follow https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/verify-signed-artifacts/ again.
k8s had repair these at May 15, 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants