]> Cypherpunks.ru repositories - gostls13.git/commit
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>
Thu, 10 Aug 2023 20:33:01 +0000 (20:33 +0000)
commit162469b3cfbaac12b74100e80ccd3c6dd0126233
tree7eb43e4172be3a2e0eb1317b42ba6fb2d77b2c8a
parent6eb31c1a00327fb1c757d78519f8dcc9ace6ceaf
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.

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>
doc/godebug.md
src/crypto/tls/conn.go
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_server.go
src/internal/godebugs/table.go
src/runtime/metrics/doc.go