Skip to content

Conversation

@qmuntal
Copy link
Member

@qmuntal qmuntal commented Dec 17, 2025

TLS groups (aka curves) should follow the Microsoft TLS policies (private link). These are the changes done in this PR to comply with those policies:

  • Default TLS group preference: X25519MLKEM768, SecP384r1MLKEM1024, SecP256r1MLKEM768. P-384, P-256, P-521, x25519
  • Groups whose algorithms are not supported by the crypto backend are disabled.

It is possible to opt-out from this new behavior by setting GODEBUG=ms_tlsprofile=off.

The already existing godebug ms_tlsx25519 is orthogonal to this new feature. It applies regardless of the ms_tlsprofile value.

For #1995.

@qmuntal qmuntal requested a review from a team as a code owner December 17, 2025 11:14
@qmuntal qmuntal marked this pull request as draft December 17, 2025 11:56
@qmuntal qmuntal marked this pull request as ready for review December 17, 2025 13:36
@qmuntal qmuntal merged commit 3e85872 into microsoft/main Dec 17, 2025
38 checks passed
@qmuntal qmuntal deleted the dev/qmuntalgroup branch December 17, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants