From: Damien Neil
- 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.
+
+
SessionState
type
+ describes a resumable session.
+ SessionState.Bytes
+ method and ParseSessionState
+ function serialize and deserialize a SessionState
.
+ Config.WrapSession
and
+ Config.UnwrapSession
+ hooks convert a SessionState
to and from a ticket.
+ Config.EncryptTicket
+ and Config.DecryptTicket
+ methods provide a default implementation of WrapSession
and
+ UnwrapSession
.
+ ClientSessionState.ResumptionState
method and
+ NewResumptionState
function
+ may be used by a ClientSessionCache
implementation to store and
+ resume sessions.
+
- 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.