logoalt Hacker News

vaishnavsm • yesterday at 1:47 PM • 6 replies • view on HN

Can anyone explain why key exchange alone makes your site PQC?


Replies

bux93 • yesterday at 1:57 PM

For a TLS connection, there's 3 steps involved; the certificate, key exchange and bulk encryption. Bulk encryption is symmetric, which is not impacted by quantum. If key exchange is also quantum-safe, the certificate is the weak link. Unfortunately, there are no PQC web PKI certificates generally available. But, that's also true for quantum computing itself.

Being able to crack the certificate would enable a man-in-the-middle attack, but only when quantum is available. It doesn't enable capture-now-and-decrypt-later.

So for now, KEX is the immediate concern in relation to quantum.

Of course, the rest of the website may still be completely non-PQC, from DNS (DNSSEC uses ECDSA P-256) to the underlying databases etc.

➕ show 1 reply
antiloper • yesterday at 2:39 PM

If key exchange is classical, then an attacker can harvest encrypted data now, and decrypt it in the future when they have a quantum computer. Post-quantum key exchange algorithms prevent that.

Classical digital signatures (e.g. ECDSA) are also vulnerable to quantum computers, but the attacker would need a quantum computer NOW, while the handshake is in progress. Breaking ECDSA in the future does not affect TLS handshakes in the present (of course other digital signature applications e.g. for signing phone firmware are a different matter).

cowlevel • yesterday at 7:15 PM

It makes it safe to harvest-now-decrypt-later attacks. Authentication doesn't suffer from them unless the attacker has a time machine, so it doesn't need to be upgraded as urgently.

cwmma • yesterday at 1:59 PM

it doesn't, you also need a cert, but haproxy can't do anything about that so their just focusing on the part they can fix in software.

➕ show 1 reply
dist-epoch • yesterday at 2:00 PM

Because after key exchange you use symmetric ciphers which are safe from quantum computers (they have almost no mathematical structure)

fer • yesterday at 1:58 PM

Quantum computers don't affect symmetric encryption all that much vs RSA/ECDH