-
Notifications
You must be signed in to change notification settings - Fork 566
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
How to reproduce v1.13 behaviour with v2 in a BYO PKI scenario #2858
Comments
To work around this, you can do your own verification of the certificate using the chain and extract the public key to use with |
And this will the case even when #2632 will be fixed? |
Correct. With Cosign 2.0, we swung the pendulum more towards identity verification. We will need to think through how to do byo-pki without impacting the required checks for identity. |
I'm a bit confuse. Verifying Identity is of course mandatory ! Is it possible to rely identity on Subject Name also ? |
@Fassino I think what you're noticing is that the procedures for verifying in a BYO PKI setting and a "public Sigstore infra" setting are very different. The 2.0 release made the "public Sigstore infra" setting a lot nicer by default, but this wound up making BYO PKI worse. At the moment, there's no easy way to rely on Subject Name; on my roadmap for the next couple months is to make this possible and a lot clearer. |
Hi, |
I can across a similar behavior change with BYO PKI and wanted to note the changes I had to make. Previously I was using the following invocation (where
With 2.0.2 ( and main build as of yesterday ) that not longer works, so you have to change a few flags: My signing certificate can be extracted with openssl ( don't need to use step ? )
Then the cosign invocation can become:
|
Question
Hi I was starting to use cosign v1.13 in a bring your own PKI scenario.
And was able to sign and verify my images without any issue.
Then I've decided to move to v2 and obviously
$COSIGN verify --cert $SIGNATURE.pem --certificate-chain $CA.pem $REGISTRY$IMAGE
Does not work anymore (cf #2056 )
So my question is what I have to do to bring back the same behaviour in my context (no fulcio, no rekor).
I'm far from understanding all the things involved here but reading #2632 let le think my PKI is not 'fulcio like' and I need to wait for modifications regarding BYO PKI.
The text was updated successfully, but these errors were encountered: