aboutsummaryrefslogtreecommitdiff
path: root/_content/doc
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2025-07-14 16:01:33 -0700
committerGopher Robot <gobot@golang.org>2025-07-15 13:46:10 -0700
commit3e2e3d8a27a511689ecdec3adf217ff024f5cb19 (patch)
tree0c5a3a8ab7977cd38a6f828019216a7f567484cf /_content/doc
parent7489ed90013f6d0fb937cf737b30b59dc5c11b99 (diff)
downloadgo-x-website-3e2e3d8a27a511689ecdec3adf217ff024f5cb19.tar.xz
_content/doc/go1.25: add note about weird ASN.1 string encodings
Change-Id: I24532ac0e0d62244d95e849ec260651b4f301058 Reviewed-on: https://go-review.googlesource.com/c/website/+/688056 Auto-Submit: Roland Shoemaker <roland@golang.org> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to '_content/doc')
-rw-r--r--_content/doc/go1.25.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/_content/doc/go1.25.md b/_content/doc/go1.25.md
index faf8c293..135859a0 100644
--- a/_content/doc/go1.25.md
+++ b/_content/doc/go1.25.md
@@ -287,6 +287,12 @@ API and provide feedback on the [proposal issue](/issue/71497).
The [`Writer.AddFS`](/pkg/archive/tar#Writer.AddFS) implementation now supports symbolic links
for filesystems that implement [`io/fs.ReadLinkFS`](/pkg/io/fs#ReadLinkFS).
+#### [`encoding/asn1`](/pkg/encoding/asn1/)
+
+[`Unmarshal`](/pkg/encoding/asn1#Unmarshal) and [`UnmarshalWithParams`](/pkg/encoding/asn1#UnmarshalWithParams)
+now parse the ASN.1 types T61String and BMPString more consistently. This may
+result in some previously accepted malformed encodings now being rejected.
+
#### [`crypto`](/pkg/crypto/)
[`MessageSigner`](/pkg/crypto#MessageSigner) is a new signing interface that can
@@ -389,6 +395,10 @@ The [GODEBUG setting](/doc/godebug) `x509sha256skid=0` reverts to SHA-1.
[`ParseCertificate`](/pkg/crypto/x509#ParseCertificate) now rejects certificates
which contain a BasicConstraints extension that contains a negative pathLenConstraint.
+[`ParseCertificate`](/pkg/crypto/x509#ParseCertificate) now handles strings encoded
+with the ASN.1 T61String and BMPString types more consistently. This may result in
+some previously accepted malformed encodings now being rejected.
+
#### [`debug/elf`](/pkg/debug/elf/)
The [`debug/elf`](/pkg/debug/elf) package adds two new constants: