From 0cc58564f6dff13afdf0a50b702ddd6ef092db19 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Tue, 6 Jun 2023 14:46:42 -0700 Subject: [PATCH] go1.21: document crypto/tls additions For #60105 For #44886 Change-Id: I8f6cfc4490535979ee8c0d8381c03b03c9c7b9a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/501303 TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Reviewed-by: Roland Shoemaker Run-TryBot: Damien Neil --- doc/go1.21.html | 77 +++++++++++++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 32 deletions(-) diff --git a/doc/go1.21.html b/doc/go1.21.html index ab7a337e71..a4b9e203e1 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -536,44 +536,57 @@ Do not send CLs removing the interior tags from such phrases.
crypto/tls
-

- TODO: https://go.dev/issue/46308: add VersionName function to return a string version of the TLS Version -

- -

- TODO: https://go.dev/issue/60107: QUIC 0-RTT APIs -

- -

- TODO: https://go.dev/cl/493655: crypto/tls: support QUIC as a transport; modified api/next/44886.txt -

- -

- TODO: https://go.dev/cl/496818: crypto/tls: add SessionState and use it on the server side; modified api/next/60105.txt -

- -

- TODO: https://go.dev/cl/496820: crypto/tls: add ClientSessionState.ResumptionState and NewResumptionState; modified api/next/60105.txt -

- -

- TODO: https://go.dev/cl/496821: crypto/tls: add WrapSession and UnwrapSession; modified api/next/60105.txt -

- -

- TODO: https://go.dev/cl/496822: crypto/tls: add SessionState.Extra; modified api/next/60105.txt +

+ Applications can now control the content of session tickets. +

-

- TODO: https://go.dev/cl/496995: crypto/tls: add QUIC 0-RTT APIs; modified api/next/44886.txt, api/next/60107.txt +

+ The package now supports the extended master secret extension (RFC 7627), + and enables it by default. Additionally, the deprecation of + ConnectionState.TLSUnique + has been reverted, and it is populated when a connection which uses + extended master secret is resumed. Session tickets produced by + Go pre-1.21 are not interoperable with Go 1.21, meaning connections + resumed across versions will fall back to full handshakes.

-

- TODO: https://go.dev/cl/497376: crypto/tls: implement Extended Master Secret; modified api/except.txt +

+ The new QUICConn type + provides support for QUIC implementations. Note that this is not itself + a QUIC implementation.

-

- TODO: https://go.dev/cl/497377: crypto/tls: add VersionName; modified api/next/46308.txt +

+ The new VersionName function + returns the name for a TLS version number.

-- 2.50.0