From 10fb001c7519f2a694e987ecb1e75da80f832b41 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Wed, 20 Nov 2024 13:59:09 +0100 Subject: 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 Auto-Submit: Filippo Valsorda Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI --- src/runtime/metrics/doc.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/runtime') 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=... -- cgit v1.3-5-g9baa