aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2024-11-20 13:59:09 +0100
committerGopher Robot <gobot@golang.org>2024-11-22 01:50:32 +0000
commit10fb001c7519f2a694e987ecb1e75da80f832b41 (patch)
tree60af0ba4d603aab5f56652cd166fb1f8fe3f752e /src/runtime
parentca14eaf77c86bd5492329d2be6f1a82afe7802f5 (diff)
downloadgo-10fb001c7519f2a694e987ecb1e75da80f832b41.tar.xz
crypto/rsa: refuse to generate and/or use keys smaller than 1024 bits
Fixes #68762 Change-Id: Id89c770571d7cc27c6cf7932139ec3424383a7ef Reviewed-on: https://go-review.googlesource.com/c/go/+/629938 Reviewed-by: Roland Shoemaker <roland@golang.org> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/metrics/doc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/metrics/doc.go b/src/runtime/metrics/doc.go
index 2e780e430d..34a1b01fe4 100644
--- a/src/runtime/metrics/doc.go
+++ b/src/runtime/metrics/doc.go
@@ -315,6 +315,10 @@ Below is the full list of supported metrics, ordered lexicographically.
The number of non-default behaviors executed by the math/rand
package due to a non-default GODEBUG=randseednop=... setting.
+ /godebug/non-default-behavior/rsa1024min:events
+ The number of non-default behaviors executed by the crypto/rsa
+ package due to a non-default GODEBUG=rsa1024min=... setting.
+
/godebug/non-default-behavior/tarinsecurepath:events
The number of non-default behaviors executed by the archive/tar
package due to a non-default GODEBUG=tarinsecurepath=...