1
0
mirror of https://github.com/golang/go synced 2024-11-15 06:50:32 -07:00
go/doc/next/6-stdlib
Filippo Valsorda c96159c252 crypto/x509: cleanup signature generation
Centralizing some repetitive code, which would have prevented #45990.

This also fixes the deprecated Certificate.CreateCRL for RSA-PSS, not
that anyone cared, probably.

This has two other minor observable behavior changes: MD2 is now treated
as a completely unknown algorithm (why did we even have that!? removing
lets us treat hash == 0 as always meaning no prehash); and we now do the
signature verification self-check for all signing operations.

Change-Id: I3b34fe0c3b6eb6181d2145b0704834225cd45a27
Reviewed-on: https://go-review.googlesource.com/c/go/+/586015
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-22 09:20:15 +00:00
..
99-minor crypto/x509: cleanup signature generation 2024-05-22 09:20:15 +00:00
0-heading.md doc: fix various release notes mistakes 2024-03-15 03:39:16 +00:00
1-time.md doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
2-unique.md doc: simplify links for release notes 2024-05-20 18:34:13 +00:00
3-iter.md doc: simplify links for release notes 2024-05-20 18:34:13 +00:00
3-structs.md cmd/compile: add structs.HostLayout 2024-05-20 21:19:39 +00:00