]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] crypto/tls: add GODEBUG to control max RSA key size
authorRoland Shoemaker <roland@golang.org>
Wed, 9 Aug 2023 01:25:59 +0000 (18:25 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 16 Aug 2023 17:16:32 +0000 (17:16 +0000)
commitb78e8cc145b7a17e973cc938caea1f227a36cfe1
tree49bc911ee558345ed02fb57dea7fefc2c2b7f879
parent3475e6af4cd6ab7d28ea5a7613eff65be140fbb9
[release-branch.go1.21] crypto/tls: add GODEBUG to control max RSA key size

Add a new GODEBUG setting, tlsmaxrsasize, which allows controlling the
maximum RSA key size we will accept during TLS handshakes.

Fixes #61967

Change-Id: I52f060be132014d219f4cd438f59990011a35c96
Reviewed-on: https://go-review.googlesource.com/c/go/+/517495
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/c/go/+/518535
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
doc/godebug.md
src/crypto/tls/conn.go
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_client_test.go
src/crypto/tls/handshake_server.go
src/internal/godebugs/table.go
src/runtime/metrics/doc.go