logoalt Hacker News

jscd • today at 12:54 AM • 0 replies • view on HN

To simplify, there’s two problems to solve in these kinds of systems: authentication and key exchange. In TLS, authentication means validating the site is really who they say they are via the CA. Once your browser knows it’s communicating with the right server, it then performs a key exchange, negotiating a shared key to encrypt the rest of the communication with.

Key exchange, the second part, is vulnerable to the “store now, decrypt later” attack, which is why that has been prioritized in post-quantum migration plans. Authentication is not, since it always happens whenever a new connection is initiated and isn’t used to encrypt any data.