From e8d9fd707f4914bdd298f5dcdd14d3b6035e278b Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Wed, 30 Mar 2022 09:53:58 -0400 Subject: [PATCH] crypto/x509: move sha1 removal to unspecified future release Updates #41682 Change-Id: I3a2d6eedf4030cdc7308001aef549eb20eeb11c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/396774 Reviewed-by: Russ Cox Reviewed-by: Filippo Valsorda Run-TryBot: Filippo Valsorda Auto-Submit: Filippo Valsorda TryBot-Result: Gopher Robot --- src/crypto/x509/x509.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go index 085408a0f8..ceb04ae20e 100644 --- a/src/crypto/x509/x509.go +++ b/src/crypto/x509/x509.go @@ -733,7 +733,7 @@ var debugAllowSHA1 = godebug.Get("x509sha1") == "1" // // To temporarily restore support for SHA-1 signatures, include the value // "x509sha1=1" in the GODEBUG environment variable. Note that this option will -// be removed in Go 1.19. +// be removed in a future release. type InsecureAlgorithmError SignatureAlgorithm func (e InsecureAlgorithmError) Error() string { -- 2.50.0