CS FundamentalsVery hardProduct-company placement · Security interview
A TLS 1.3 client resumes a session and sends application data in 0-RTT (early data). Which statement is correct?
- A. Early data has forward secrecy and replay protection identical to normal data
- B. Early data can be replayed by an attacker, so servers should accept only idempotent requests in it
- C. Early data is sent in plaintext because no keys exist yet
- D. 0-RTT removes the TCP handshake as well as the TLS handshake
Correct answer: B. Early data can be replayed by an attacker, so servers should accept only idempotent requests in it
0-RTT data is encrypted with a key derived from the pre-shared resumption secret, but nothing in it proves freshness, so it can be replayed, and it lacks forward secrecy for that key. TCP still needs its own handshake unless TCP Fast Open or QUIC is used.
More Computer Networks questions
- A developer authenticates API messages as tag = SHA-256(secret ‖ message) instead of using HMAC. Why is this unsafe?
- Two sites connect through a router that performs NAT. An IPsec tunnel using AH fails, while one using ESP with NAT traversal works. Why?
- Asha sends one email with To: Ravi and Bcc: Meena, both at the same domain. How does Meena's server know to deliver a copy to her, given…
- A stateless packet filter at a campus edge allows all outbound TCP, and allows inbound TCP only when the ACK flag is set (so only replies…
- A company wants its bare domain example.com to point at a hosting provider's name, as www.example.com does with a CNAME. Why does standard…
- How many of these are valid IPv6 addresses? 1. 2001:db8::1:0:0:1 2. 2001:db8::1::5 3. fe80::abcd:12345 4. ::ffff:192.0.2.1 5…