Repository navigation
Conversation
…rification tests Verify that the operator's TLS 1.3 client transport negotiates X25519MLKEM768 by default, falls back to classical X25519 when connecting to classical-only TLS 1.3 peers, and honors GODEBUG=tlsmlkem=0 opt-out. Also test that DefaultProxyImage meets the minimum PQC-capable Cloud SQL Auth Proxy version (2.15.2+) and that GODEBUG=tlsmlkem=0 is preserved on sidecar overrides across both regular containers and native Kubernetes 1.29+ sidecar initContainers. Document default PQC key exchange behavior, custom sidecar image version requirements, and GODEBUG=tlsmlkem=0 opt-out configuration in README.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents Post-Quantum Cryptography (PQC) TLS 1.3 key exchange (
X25519MLKEM768) support inREADME.mdand adds unit tests verifying PQC behavior across the Operator TLS stack,DefaultProxyImage, and sidecar container overrides:TLS 1.3 key exchange verification (
TestOperatorTLSKeyExchange): Verifies that the operator'sk8s.io/client-go/restTLS 1.3 client transport negotiatestls.X25519MLKEM768(0x11ec) by default, falls back to classicaltls.X25519against classical-only TLS 1.3 peers, and honorsGODEBUG=tlsmlkem=0client-side opt-out (andGODEBUG=tlsmlkem=1).Default sidecar image check (
TestDefaultProxyImageSupportsPQC): Verifies thatworkload.DefaultProxyImage(2.26.3) meets the minimum PQC-capable Cloud SQL Auth Proxy version (2.15.2+, built withgo >= 1.24ingo.mod) and leavesGODEBUGunset by default.Sidecar
GODEBUG=tlsmlkem=0override check (TestSidecarGODEBUGOptOutViaContainerOverride): Verifies webhook validation and container reconciliation when passingGODEBUG=tlsmlkem=0viaspec.authProxyContainer.containeron both Kubernetes< 1.29(containers) and>= 1.29(initContainerswithrestartPolicy: Always).Documentation (
README.md): Adds aPost-Quantum Cryptography (PQC)section covering default hybrid key exchange behavior and automatic fallback, custom proxy image version requirements (2.15.2+), andGODEBUG=tlsmlkem=0opt-out instructions (including an explicit warning thatspec.authProxyContainer.containeris a full-replacement debugging parameter).Tests pass
Appropriate changes to README are included in PR