Remix.run Logo
▲ operation_moose 2 hours ago

So do I have this roughly right, as we understand it so far?:

- RSA (integer factorization) and Elliptic Curve Cryptography have been known to be weak to quantum computers for some time

- Lattice cryptography was supposed to be a quantum computer-safe replacement for above

- The standards committee chose to use a weaker version of lattice cryptography to keep keys a little smaller. This would be somewhat analogous to limiting RSA to only using Mersenne Primes, instead of all Primes. This choice opened up a new attack surface

- Anthropic found a new theoretic quantum attack on the weaker form of lattice cryptography currently deployed

- The weakness is not extended (so far) to the stronger form of lattice cryptography (not in use?)

- The size of quantum computer required to break any of these (traditional or lattice) is still (likely) >10 years away?

▲eyeris an hour ago | parent | next [-]

There was an interesting article yesterday about how discord with pqc is unblocked in turkey due to unexpected clienthello sizing

https://news.ycombinator.com/item?id=50699801

▲adrian_b an hour ago | parent | prev | next [-]

The fact that ML-KEM, the key encapsulation mechanism currently preferred by NIST and NSA, which uses the "Power-of-Two Cyclotomic Rings" from the title of the Anthropic paper, is vulnerable to becoming broken by mathematical advances was predicted more than a decade ago, so the Anthropic results are not surprising at all.

Because ML-KEM was expected to become broken, other lattice algorithms that are not vulnerable to such attacks have been proposed, e.g. NTRU Prime.

Despite that, NIST and NSA have ignored all warnings and the standardized ML-KEM has been widely deployed, in all major browsers and in many HTTPS servers. The only argument of NIST justifying the choice of ML-KEM is that it is slightly faster (e.g. up to 20% faster) and the amount of exchanged data is slightly less.

Because the speed of connection establishment is normally much less important than the connection throughput after that, the small advantage of ML-KEM should have mattered much less than its security risks, so it should never have been the preferred choice.

If the Anthropic paper really shows that ML-KEM is not a valid post-quantum cryptographic algorithm, that does not matter much for now, except that all the deployment of ML-KEM was futile.

In this case the NIST standard will have to be corrected, promoting another candidate to the first place, perhaps NTRU Prime. Then the browsers and HTTPS servers will have to be updated with the corrected standard.

SSH already provides an alternative to ML-KEM: "sntrup761x25519-sha512" (i.e. RFC 9941). Thus any SSH users can update their SSH client and server configurations at any time to use that key exchange algorithm instead of ML-KEM.

▲bdhe 34 minutes ago | parent [-]

> Because ML-KEM was expected to become broken, other lattice algorithms that are not vulnerable to such attacks have been proposed, e.g. NTRU Prime.

It is still open (unless someone has read and digested the Anthropic paper) whether these attacks on power-of-two cyclotomics extends to the ideal lattices that underly NTRU prime. So having some caution with any ideal lattices is probably a good idea.

And second, NTRUPrime afaik does not have a random self-reduction, so that might also indicate weaknesses in the way parameters are chosen. I believe the other papers from Anthropic actually strengthen the random self-reduction claims of unstructured lattices, but again, haven't read the papers.

▲j2kun 2 hours ago | parent | prev | next [-]

I think most of that is right, though still speculative until Anthropic releases the damn paper.

> a weaker version of lattice cryptography

I don't think it was necessarily known to be weaker, but in all things cryptography there is a tradeoff of performance cost vs security. This is not unusual. Who knows if the attack will be improved to apply to LWE as well?

▲operation_moose 2 hours ago | parent [-]

Fair enough. I was taking this line from the linked article as true:

> So, I expect this will force the field of post-quantum crypto to fall back on stuff like generic LWE and lattice problems, which are apparently still standing, but which the practical people don’t like because they require larger key sizes.

I guess that remains to be seen.

▲adrian_b 34 minutes ago | parent [-]

Another lattice-based key encapsulation mechanism, NTRU Prime, has been designed since the beginning, more than a decade ago, precisely to resist to the kind of attack discovered by Anthropic.

Therefore there is no wonder that it is still standing and no similar attack is expected to be found against it.

The difference in speed and key size between NTRU Prime and the presumably broken ML-KEM is small enough to not be significant, i.e. the key exchange does not require packets bigger than the standard Ethernet MTU and the computation speed ratio varies from CPU to CPU, but it should not exceed 10% to 20%.

Therefore if ML-KEM will be replaced by a stronger algorithm, there will be no significant differences regarding efficiency.

▲cjbprime an hour ago | parent | prev [-]

> - The size of quantum computer required to break any of these (traditional or lattice) is still (likely) >10 years away?

Predicting the pace of any intellectual activity is surely unwise in this particular AI moment.