-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Test x509 intermediates correctly #34524
Conversation
return nil, false, nil | ||
} | ||
|
||
// Use intermediates, if provided |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see https://golang.org/src/crypto/tls/handshake_server.go, processCertsFromClient for how the stdlib verifies the cert chain
only the leaf cert is verified, the remaining certs are client-supplied intermediates
lgtm. Tests aren't green though. Straight picks don't me to look at them again. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
Removing label |
…4-upstream-release-1.3 Automated cherry pick of #35212 Manual merge because submit queue is blocked due to unrelated breakages on a branch that this isn't even merging into, and because this is a critical fix.
…4-upstream-release-1.2 Automated cherry pick of #34524
…k-of-#34524-upstream-release-1.4 Automatic merge from submit-queue Automated cherry pick of kubernetes#34524 Cherry pick of kubernetes#34524 on release-1.4. kubernetes#34524: Test x509 intermediates correctly
…k-of-#34524-upstream-release-1.3 Automated cherry pick of kubernetes#35212 Manual merge because submit queue is blocked due to unrelated breakages on a branch that this isn't even merging into, and because this is a critical fix.
…k-of-#34524-upstream-release-1.2 Automated cherry pick of kubernetes#34524
Fixes #34517
This change is