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

[cosigned] Webhook error when trying to verify an image signed with RSA key #1729

Closed
oliviergaumond opened this issue Apr 9, 2022 · 2 comments · Fixed by #1768
Closed

[cosigned] Webhook error when trying to verify an image signed with RSA key #1729

oliviergaumond opened this issue Apr 9, 2022 · 2 comments · Fixed by #1768
Assignees
Labels
bug Something isn't working

Comments

@oliviergaumond
Copy link
Contributor

Description

To reproduce:

  • Sign an image with an RSA key
  • Configure cosigned webhook with the RSA public key
  • Try to run a pod with signed image

The admission webhook returns an error

The following is found in the webhook logs
http: panic serving 192.168.172.222:42498: interface conversion: interface {} is *rsa.PublicKey, not *ecdsa.PublicKey\n

Expected behavior
As cosign supports RSA key, cosigned should also support them

@oliviergaumond oliviergaumond added the bug Something isn't working label Apr 9, 2022
@hectorj2f
Copy link
Contributor

Thanks for the issue @oliviergaumond. We’ ll check the weather

@dlorenc
Copy link
Member

dlorenc commented Apr 10, 2022

Yeah we probably missed a few refactors to support the genetic Verifier stuff.

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.

3 participants