<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.21.0</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.21.0</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.21.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2023-08-08T15:00:52Z</updated>
<entry>
<title>[release-branch.go1.21] go1.21.0</title>
<updated>2023-08-08T15:00:52Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2023-08-08T14:44:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c19c4c566c63818dfd059b352e52c4710eecf14d'/>
<id>urn:sha1:c19c4c566c63818dfd059b352e52c4710eecf14d</id>
<content type='text'>
Change-Id: Iffac2ce43cd3a48ba420594adc3eab5aa9bcf113
Reviewed-on: https://go-review.googlesource.com/c/go/+/517055
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
Run-TryBot: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Michael Knyszek &lt;mknyszek@google.com&gt;
Auto-Submit: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] Revert "net/http: use Copy in ServeContent if CopyN not needed"</title>
<updated>2023-08-04T16:24:02Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2023-07-24T16:19:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e973d242614d30b7a3aaf8f65d279b062976fa9f'/>
<id>urn:sha1:e973d242614d30b7a3aaf8f65d279b062976fa9f</id>
<content type='text'>
This reverts CL 446276.

Reason for revert: Causing surprising performance regression.

Fixes #61530

Change-Id: Ic970f2e05d875b606ce274ea621f7e4c8c337481
Reviewed-on: https://go-review.googlesource.com/c/go/+/512615
Run-TryBot: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
(cherry picked from commit df0a1297899aff1c46b66523e75aa12b0ff5049f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/515795
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] spec: remove unnecessary sentence</title>
<updated>2023-08-03T23:35:21Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2023-08-03T00:03:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2e6276df34f0d59924113548fe00fd33d5286bf4'/>
<id>urn:sha1:2e6276df34f0d59924113548fe00fd33d5286bf4</id>
<content type='text'>
Change-Id: I06345199ff16c80be83c345d734caef1714ec089
Reviewed-on: https://go-review.googlesource.com/c/go/+/515338
TryBot-Bypass: Robert Griesemer &lt;gri@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Robert Griesemer &lt;gri@google.com&gt;
Auto-Submit: Robert Griesemer &lt;gri@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/515715
</content>
</entry>
<entry>
<title>[release-branch.go1.21] runtime/internal: switch GOWASIRUNTIME default</title>
<updated>2023-08-03T22:16:40Z</updated>
<author>
<name>Johan Brandhorst-Satzkorn</name>
<email>johan.brandhorst@gmail.com</email>
</author>
<published>2023-08-01T23:01:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=aeef93cd648b19de8d9e6899dec370b7c99740d3'/>
<id>urn:sha1:aeef93cd648b19de8d9e6899dec370b7c99740d3</id>
<content type='text'>
CL 513235 switched the default wasip1 runtime in the misc/wasm
executable script, but it missed this use of the GOWASIRUNTIME
environment variable. Update this instance to make the default runtime
choice consistent.

Change-Id: Iff7f96231422747a38d65d13a940f6e9d04d835d
Reviewed-on: https://go-review.googlesource.com/c/go/+/515116
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Johan Brandhorst-Satzkorn &lt;johan.brandhorst@gmail.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Run-TryBot: Johan Brandhorst-Satzkorn &lt;johan.brandhorst@gmail.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] crypto/tls: change SendSessionTicket to take an options struct</title>
<updated>2023-08-02T17:43:27Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2023-08-01T20:33:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=35de5f2b0ee28dd9981d2754336cb9bd26e44b28'/>
<id>urn:sha1:35de5f2b0ee28dd9981d2754336cb9bd26e44b28</id>
<content type='text'>
To allow for future evolution of the API, make
QUICConn.SendSessionTicket take a QUICSessionTicketOptions
rather than a single bool.

For #60107

Change-Id: I798fd0feec5c7581e3c3574e2de99611c81df47f
Reviewed-on: https://go-review.googlesource.com/c/go/+/514997
Reviewed-by: Roland Shoemaker &lt;roland@golang.org&gt;
Run-TryBot: Damien Neil &lt;dneil@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Marten Seemann &lt;martenseemann@gmail.com&gt;
(cherry picked from commit a915b999c915eb7827396013bcb334747863e66e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/515335
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/link: use symbol-targeted relocation for initializers on Mach-O</title>
<updated>2023-08-02T17:38:41Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2023-06-12T17:42:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a3b092d65e2df7584e452508a6a1ddc0d861a010'/>
<id>urn:sha1:a3b092d65e2df7584e452508a6a1ddc0d861a010</id>
<content type='text'>
Apple's new linker, ld-prime from Xcode 15 beta, when handling
initializers in __mod_init_func, drops the offset in the data,
resolving the relocation to the beginning of the section. The
latest version of ld-prime rejects non-zero addend. We need to use
symbol-targeted "external" relocations, so that it doesn't need
an addend and can be resolved correctly. This also works fine with
ld64.

Fixes #60694.
For #61229.

Change-Id: Ida2be6aa4c91bfcd142b755e2ec63aabfbbd77a6
Reviewed-on: https://go-review.googlesource.com/c/go/+/502616
Run-TryBot: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
(cherry picked from commit bad9ca8a612f6fae85cfc25e07e69ed30384fc84)
Reviewed-on: https://go-review.googlesource.com/c/go/+/514535
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/go: missing name in failed command error</title>
<updated>2023-08-02T15:53:43Z</updated>
<author>
<name>Mauri de Souza Meneguzzo</name>
<email>mauri870@gmail.com</email>
</author>
<published>2023-08-02T13:47:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=07c72a0915093feb9837dbcbc963810a3efcb6b6'/>
<id>urn:sha1:07c72a0915093feb9837dbcbc963810a3efcb6b6</id>
<content type='text'>
Fixed the error reporting for an unknown command to
preserve the name when displaying the error message.

Fixes #61604

Change-Id: I13defb84e61265ab48ab514e9d4f1626a4a3f758
GitHub-Last-Rev: 5d2889c60ceb3f43bb63b6641ecbcca08b7cd365
GitHub-Pull-Request: golang/go#61607
Reviewed-on: https://go-review.googlesource.com/c/go/+/513555
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/515278
Auto-Submit: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] go1.21rc4</title>
<updated>2023-08-02T13:51:49Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2023-08-02T02:38:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=041dd5ce051caf72d64b6d5f2f975515b3676a71'/>
<id>urn:sha1:041dd5ce051caf72d64b6d5f2f975515b3676a71</id>
<content type='text'>
Change-Id: I4a166f3d04747703f2c0b3c3f245d9cde44f3068
Reviewed-on: https://go-review.googlesource.com/c/go/+/514777
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Run-TryBot: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] crypto/tls: restrict RSA keys in certificates to &lt;= 8192 bits</title>
<updated>2023-08-01T21:58:27Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>bracewell@google.com</email>
</author>
<published>2023-06-07T22:27:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a51957fb0b20bb6c91d0415efca222cc9ecdb770'/>
<id>urn:sha1:a51957fb0b20bb6c91d0415efca222cc9ecdb770</id>
<content type='text'>
Extremely large RSA keys in certificate chains can cause a client/server
to expend significant CPU time verifying signatures. Limit this by
restricting the size of RSA keys transmitted during handshakes to &lt;=
8192 bits.

Based on a survey of publicly trusted RSA keys, there are currently only
three certificates in circulation with keys larger than this, and all
three appear to be test certificates that are not actively deployed. It
is possible there are larger keys in use in private PKIs, but we target
the web PKI, so causing breakage here in the interests of increasing the
default safety of users of crypto/tls seems reasonable.

Thanks to Mateusz Poliwczak for reporting this issue.

Updates #61460
Fixes CVE-2023-29409

Change-Id: Ie35038515a649199a36a12fc2c5df3af855dca6c
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1912161
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Run-TryBot: Roland Shoemaker &lt;bracewell@google.com&gt;
(cherry picked from commit d865c715d92887361e4bd5596e19e513f27781b7)
Reviewed-on: https://go-review.googlesource.com/c/go/+/515056
Run-TryBot: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/go: make go list -m -u all not complain about missing checksums</title>
<updated>2023-08-01T18:40:48Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2023-07-27T19:56:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=363f2594aabc2ae4ef326e5c2691fd0ebb14390e'/>
<id>urn:sha1:363f2594aabc2ae4ef326e5c2691fd0ebb14390e</id>
<content type='text'>
This is a band-aid of a fix for Go 1.21, to create space to work on
a real fix for Go 1.22, if in fact the real fix is different. It simply
disables the go.sum update check during go list -m -u.
I don't have a self-contained test for the breakage. See #61605.
All existing tests continue to pass.

For #61605.
After merging into the Go 1.21 branch we can move #61605 to the Go 1.22 milestone.

Change-Id: Ib155710092003f08d2a6ce0aefa8e0270cad5a5c
Reviewed-on: https://go-review.googlesource.com/c/go/+/514899
Reviewed-by: Michael Matloob &lt;matloob@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
</feed>
