Repository navigation
web: add post-quantum hybrid KEM groups to curve_preferences - #449
Open
dongjiang1989 wants to merge 1 commit into
Open
dongjiang1989 wants to merge 1 commit into
dongjiang1989 wants to merge 1 commit into
Conversation
dongjiang1989
force-pushed
the
add-keyExchangeGroups
branch
from
September 27, 2026 15:14
3699e85 to
781393c
Compare
Add X25519MLKEM768 (Go 1.24+) to the base curves map, and add SecP256r1MLKEM768 / SecP384r1MLKEM1024 via a separate file (tls_config_go126.go) guarded by a go1.26 build tag, so the module keeps building cleanly on Go 1.25. In TLS 1.3 the curve registry was renamed to "Named Groups" (RFC 8446, Section 4.2.7) and extended beyond elliptic curves to cover hybrid post-quantum KEMs. Documentation is updated to list all available values and their Go version requirements. Signed-off-by: dongjiang <dongjiang1989@users.noreply.github.com> Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
dongjiang1989
force-pushed
the
add-keyExchangeGroups
branch
from
September 27, 2026 15:18
781393c to
1834083
Compare
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.
Extend the
curve_preferencesmap with the hybrid post-quantum key exchange groups added in Go 1.24:X25519MLKEM768,SecP256r1MLKEM768, andSecP384r1MLKEM1024.These share the same
tls.CurveIDregistry as the existing curves, so no new config field is needed — in TLS 1.3 the registry was renamed to "Named Groups" (RFC 8446, §4.2.7) and extended beyond elliptic curves.Documentation updated to list all available values.
Validations:
go build ./...go vet ./...go test ./...