]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: disable signing with MD5WithRSA
authorRoland Shoemaker <roland@golang.org>
Fri, 22 Jan 2021 18:16:24 +0000 (10:16 -0800)
committerRoland Shoemaker <roland@golang.org>
Thu, 5 May 2022 15:43:29 +0000 (15:43 +0000)
commitfdb640b7a1324c2a4fc579389c4bc287ea90f1db
treec91c7f37e3795812ceb0debfeb5e8db8102628d1
parent485a572243568530721009829393ba2c0deb7bd0
crypto/x509: disable signing with MD5WithRSA

MD5 is hopelessly broken, we already don't allow verification of
MD5 signatures, we shouldn't support generating them.

Fixes #42125

Change-Id: Ib25d750e6fc72a03198a505ac71e6d2c99eff2ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/285872
Run-TryBot: Roland Shoemaker <roland@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/crypto/x509/x509.go
src/crypto/x509/x509_test.go