-
Notifications
You must be signed in to change notification settings - Fork 53
SigstoreSigner: public key should match signer #537
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
Comments
Hi Lukas, I am interested in working on this issue as a first task to get more involved in the Secure Systems Lab. Do you think it would be good introductory work for the project? |
it's unfortunately not 100% clear what the right path is:
I'm still hoping that sisgtore-python would add some functionality to make this easier (such as being able to call |
I believe this is now doable by comparing the public key to sigstore-pythons |
Actually this bit is now implemented (for interactive auth at least). I'll close this one. |
SigstoreSigner takes a signing token and a public key that contains the corresponding OIDC identity and issuer. They should be checked if they indeed correspond:
securesystemslib/securesystemslib/signer/_sigstore_signer.py
Lines 137 to 142 in 2acf318
Moreover, this relation could be facilitated by constraining oauth + oidc flow to use the identity and issuer set by the user when the token is created:
securesystemslib/securesystemslib/signer/_sigstore_signer.py
Lines 168 to 171 in 2acf318
(currently, the sigstore proxy lets you choose from a list of providers and use arbitrary identities in the flow)
The text was updated successfully, but these errors were encountered: