Offer X25519MLKEM768 (hybrid post-quantum key exchange) on the pooler's client TLS #54706
Unanswered
billhigbea
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Supavisor's client-facing TLS endpoints, as publicly tested, negotiate classical key exchange (X25519). A client that offers X25519MLKEM768 and X25519 gets X25519; a client that offers only X25519MLKEM768 is refused.
Measured 2026-12-05 with OpenSSL 4.1.0 and 3.6.3. No credentials are needed:
Ephibbs/keydillo#4 reports the same on ports 6543 and 5432 (OpenSSL 3.6.3).
What it seems to need, from the repository:
.tool-versionsand the Dockerfile pin Erlang/OTP 27.3.4.19. OTP 28.3 added x25519mlkem768 (and secp256r1mlkem768, secp384r1mlkem1024) for TLS 1.3.supported_groupswould need x25519mlkem768 first, keeping x25519 and secp256r1 for older clients.Why now: NSA's advisory "Immediate Actions to Push Toward Post-Quantum" (PP-26-4956, https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF) asks for post-quantum key exchange in TLS where supported, against harvest-now, decrypt-later collection. Database sessions through the pooler carry application data and, for many projects, their backups. Enabling it would give automatic hybrid negotiation for compatible clients: libpq clients built with OpenSSL 3.5 or later already offer X25519MLKEM768, and would use it with no change on their side. A related request for the Edge Runtime's outbound TLS is supabase/edge-runtime#791.
All reactions