Repository navigation
Commit c1ecc87
tls: enable post-quantum key exchange via default curve preferences
Remove the CurvePreferences pin (dating from the era when only
assembly-backed curves were recommended) so the server rides the Go
stdlib defaults: on go >= 1.24 these prefer the hybrid post-quantum
X25519MLKEM768 key exchange and automatically adopt new groups as the
toolchain updates (go 1.26 added SecP256r1MLKEM768 and
SecP384r1MLKEM1024).
Note: hybrid key exchange exists only in TLS 1.3; connections
negotiating TLS 1.2 (permitted by the current MinVersion) remain
classical.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent dc38fad commit c1ecc87
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
0 commit comments