Skip to content

Commit e1f02e9

Browse files
thomvaillgopherbot
authored andcommitted
doc: add a disclamer for the TLS handshake timeouts TL;DR bug in godebug.md
Relates to #71257. Since post-quantum TLS algorithms are enabled by default, we should warn about the possible bugs with legacy servers (see https://tldr.fail/) Change-Id: I06a5d8a927497ea2141007b14a90af27e0891720 GitHub-Last-Rev: 476e646 GitHub-Pull-Request: #71865 Reviewed-on: https://go-review.googlesource.com/c/go/+/651036 Reviewed-by: Roland Shoemaker <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent af00524 commit e1f02e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/godebug.md

+4
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ field by default.
217217
Go 1.24 enabled the post-quantum key exchange mechanism
218218
X25519MLKEM768 by default. The default can be reverted using the
219219
[`tlsmlkem` setting](/pkg/crypto/tls/#Config.CurvePreferences).
220+
This can be useful when dealing with buggy TLS servers that do not handle large records correctly,
221+
causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)).
220222
Go 1.24 also removed X25519Kyber768Draft00 and the Go 1.23 `tlskyber` setting.
221223

222224
Go 1.24 made [`ParsePKCS1PrivateKey`](/pkg/crypto/x509/#ParsePKCS1PrivateKey)
@@ -253,6 +255,8 @@ Previous versions default to `winreadlinkvolume=0`.
253255
Go 1.23 enabled the experimental post-quantum key exchange mechanism
254256
X25519Kyber768Draft00 by default. The default can be reverted using the
255257
[`tlskyber` setting](/pkg/crypto/tls/#Config.CurvePreferences).
258+
This can be useful when dealing with buggy TLS servers that do not handle large records correctly,
259+
causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)).
256260

257261
Go 1.23 changed the behavior of
258262
[crypto/x509.ParseCertificate](/pkg/crypto/x509/#ParseCertificate) to reject

0 commit comments

Comments
 (0)