3 ms·
In TLS 1.3, when the client sends its list of supported cipher suites, it guesses which one the server will pick and includes keying material for it in the init
by derf_ 10y ago
In TLS 1.3, when the client sends its list of supported cipher suites, it guesses which one the server will pick and includes keying material for it in the initial ClientHello. The server does the same in its ServerHello. That reduces a full handshake to 1 round-trip when the guesses are right (vs. 2 RTTs in TLS 1.2).
TLS 1.3 also supports 0-RTT connections for servers the client has connected to before using a static "pre-shared key". There is some additional vulnerability to replay attacks (newly introduced with 0-RTT) and loss of forward secrecy (the same as 1-RTT session resumption in TLS 1.2) of the application data sent in the initial ClientHello. The rest of the data sent in the connection has the full set of TLS security guarantees. The pre-shared key approach has less overhead for servers and a simpler synchronization problem for load-balancers than the session IDs and session cookies of TLS 1.2.
See, e.g., https://blog.cloudflare.com/tls-1-3-overview-and-q-and-a/ https://blog.cloudflare.com/tls-1-3-overview-and-q-and-a/ for more.
- umanwizard 10y ago1 extra round trip is a lot when your users are on shitty connections in India. 0 extra round trips for servers the client has connected to before doesn't matter when most of your users are first-time visitors. Not to mention that TLS 1.3 isn't supported on IE8, a complete deal-breaker for things I've worked on.
- xorcist 10y agoYou're thinking of 1.2. 1.3 isn't finalized yet.
- deleted 10y ago[deleted]