Networking & Protocols
TLS 1.3: multiple-choice review
Six questions that cut across the whole unit. Each mirrors a decision you make designing or debugging a TLS deployment — not a definition to recite, but a tradeoff to weigh between speed, secrecy, and replay safety.
Confirm you can connect the 1-RTT handshake, forward secrecy, resumption, 0-RTT replay risk, cipher-suite separation, and SNI privacy — the synthesis the individual lessons built toward.
TLS 1.2 needed two round-trips for a cold handshake; TLS 1.3 needs one. What single design change collapsed the RTT, and why does Perfect Forward Secrecy come along for free?
A warm PSK-resumption handshake skips certificate validation entirely. How does the client still know it is talking to the legitimate server and not an impostor?
An engineer enables 0-RTT globally to cut latency. A week later, finance reports occasional duplicate transfers. What is the root cause and the correct fix?
In TLS 1.3 the cipher suite TLS_AES_128_GCM_SHA256 no longer names the key exchange or signature algorithm — unlike TLS 1.2. What did this separation buy?
A middlebox rewrites the ALPN list in ClientHello to strip 'h2' and force HTTP/1.1. The connection aborts before any data flows. Why?
A security review flags that the corporate proxy can still log which hostnames employees visit, even on TLS 1.3. Which mechanism leaks this, and what closes the gap?
The through-line of the unit is one chain of tradeoffs: the ECDHE key_share in ClientHello buys the 1-RTT handshake and forward secrecy together; PSK resumption trades fresh authentication for speed but stays authenticated via the ticket; 0-RTT trades a round-trip for replay exposure, contained only by idempotency plus 425 Too Early; cipher-suite separation shrinks the attack surface to five suites; and the transcript hash makes every negotiated parameter tamper-evident. SNI still leaks the hostname until ECH encrypts it. Speed, secrecy, and replay safety are the three axes you balance on every TLS decision.