Repository navigation
Conversation
Valkey built against OpenSSL 3.5 or later negotiates hybrid post-quantum key exchange (`X25519MLKEM768`) by default, and every official container image already ships OpenSSL 3.5, but the TLS page does not mention it. This adds a section on the OpenSSL and TLS 1.3 requirements, how to check what a server negotiates, and how to require or prefer post-quantum groups through an OpenSSL configuration file, since Valkey has no directive for groups. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
zuiderkwast
reviewed
Dec 3, 2026
zuiderkwast
left a comment
Contributor
There was a problem hiding this comment.
Makes sense, though I haven't verified the correctness against other sources.
| versions, ciphers and cipher suites, etc. Please consult the self documented | ||
| `valkey.conf` for more information. | ||
|
|
||
| ### Post-quantum key exchange |
Contributor
There was a problem hiding this comment.
This and all the other level-3 headings on this page are all sub-headings of a single h2 ## Getting started. I think they should all be h2 instead. (It's unrelated though.)
Member
Author
There was a problem hiding this comment.
Done. I dropped "Getting Started" and made all of them h2.
The OpenSSL configuration file is not specific to post-quantum key exchange, so its mechanics get their own section and the post-quantum section shows only the Groups line. Every subsection sat under a single Getting Started heading, so that heading is dropped and the subsections become top-level. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
zuiderkwast
approved these changes
Dec 5, 2026
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.
Valkey built against OpenSSL 3.5 or later negotiates hybrid post-quantum key exchange (
X25519MLKEM768) by default, and every official container image already ships OpenSSL 3.5, but the TLS page does not mention it. This adds a section on the OpenSSL and TLS 1.3 requirements, how to check what a server negotiates, and how to require or prefer post-quantum groups through an OpenSSL configuration file, since Valkey has no directive for groups.AI generated details
Behavior the section documents
Valkey never sets groups itself and loads the OpenSSL configuration at startup (
src/tls.c:174-176,OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG ...)), so OpenSSL's defaults andsystem_defaultsection decide the groups.The
Groups = X25519MLKEM768config from the section, against Valkey unstable e3a958b built with OpenSSL 3.5.10:With no OpenSSL config the same build negotiates
X25519MLKEM768, andGroups = X25519refuses a PQ-only client with alert 40.Container images
All
valkey-containerDockerfiles (7.2 through unstable) usedebian:trixie-slim(OpenSSL 3.5.9) oralpine:3.23/alpine:3.24(OpenSSL 3.5.10).Decision for reviewers
The section does not mention
tls-groups(valkey-io/valkey#4501, valkey-io/valkey#4502) because it has not merged. Proposal: update this section to lead withtls-groupsonce it ships, and keep the OpenSSL config path for older versions.This was generated by AI but verified, with love, by a human.