upvote
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.

reply
> Bulk encryption is symmetric, which is not impacted by quantum.

To be extra pedantic, symmetric encryption is impacted by quantum computers via Grover's algorithm, but in practice this is considered easy to mitigate and not a cause for concern.

reply
Do I understand correctly that the mitigation would roughly be just doubling the key size?
reply
I don't think you even need to do that. See https://words.filippo.io/128-bits/

or from Cloudflare

>Contrary to popular belief, AES-128 is not broken in practice by quantum computers

https://blog.cloudflare.com/post-quantum-to-origins/#picking...

or from NIST

>Q: To protect against the threat of quantum computers, should we double the key length for AES now?

>A: [...] it is quite likely that Grover’s algorithm will provide little or no advantage in attacking AES, and AES 128 will remain secure for decades to come

https://csrc.nist.gov/projects/post-quantum-cryptography/faq...

reply
Grover's algorithm halves the effective bits of security. So yes.
reply
Meaning, AES-256 is generally considered quantum resistant via Grover’s algorithm for those wondering what this means in practice. Via Grover, AES-256 work factor drops in half (“128 bits of quantum security”)

Applied mathematics was a mistake.

reply
This metric also assumes that somehow your quantum computers are as cheap/powerful as our conventional computers even though there is no reason to expect that. Nobody has yet built the quantum-equivalent of Colossus (a computer from WW2) and yet we're applying this equivalence as though it's a done deal.

If the quantum-equivalent of the ZX Spectrum is built in 2030 at a cost of 10% of US GDP that does not make AES-256 the same strength as AES-128 today, it makes it the same strength as AES-128 would have been in the 1980s when DES was still routinely used by the US government, ie overkill.

reply
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).

reply
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.
reply
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.
reply
You can perform the actual key establishment using PQC and only depend on the classical cert for authentication. This doesn't help with present-day impersonation, but it does prevent "harvest now, decrypt later".
reply
Because after key exchange you use symmetric ciphers which are safe from quantum computers (they have almost no mathematical structure)
reply
Quantum computers don't affect symmetric encryption all that much vs RSA/ECDH
reply