I'm not sure I buy that, it's seems wildly improbable to me that factoring actually is in P. If it is, I bet it's some useless galactic algorithm, like the FFT one that OpenAI (I think?) published recently. I don't think RSA-4096 is in any danger any time soon.
Though, you know. Always possible this comment makes me look very foolish in a month.
I think the thing to assume is that there are subtle bugs in all sorts of cryptosystems rather than old basic assumptions being invalidated.
I think this is a great reason for the EU to hurry up and design training chips to get into the LLM scaling game, so that it doesn't need to fear lacking critical maths knowledge. One could hope that fear of factoring in P was enough to motivate serious action.
Right now there is a good chance that anyone with access to public LLMs might find exploitable bugs in implementations of things like RSA. But given what we're currently seeing about pure math getting annihilated on a generational level by non-public models, I wouldn't be surprised if they found fundamental flaws in our crypto math. Factoring in P is just one thing. They might be onto something bigger like P=NP (which they certainly are pushing tons of resources into). It would be so ironic if the widely criticised series finale of Silicon Valley turned out to be right and instead of shutting down and burning the evidence, our AI companies just went ahead and destroyed society.
I mean, RSA was always based on a hypothesis with zero evidence. A hypothesis that already got dealt a major blow by Shor's algorithm 30 years ago. At this point I would not be surprised to hear that it is also broken on classical computers. And if frontier models can figure out factoring, I wouldn't bet on discrete log / ECC being safe either. In fact even post-quantum algorithms are not guaranteed to be safe. Any securty system that is not proven mathematically will basically become a ridiculous gamble. Because even if OpenAI/Anthropic don't publish it, you can bet the NSA will know about and weaponize it.
Yes, the RSA problem is iffy and dependence on the RSA problem is already solved (cryptosystems actually equivalent to factoring like Schmidt-Samoa, exist), but if factoring is faster than people think, then obviously you could need longer texts.
But there's always details, if the RSA problem is hard, there's this stuff about padding schemes-- what if they're wrong, etc.
But in the end this is a fantastic argument that we Europeans should build huge LLM training supercomputers so we can build frontier LLMs. It feels good to be able to say to people who would say no "So you want us to be mathematically ignorant and not know whether cryptosystems etc. are insecure?" and when they try to defend their view with "But we have good mathematicians, our cryptography is well-checked" "Could your mathematicians prove VNP!=VP?" and then they can't possibly have any counterarguments. There's nothing better for lots of annoying details than thoroughness, and with an LLM you can actually have that.
That's annoying, but with the PQC migration we're already deprecating pure RSA. What would be painful was any results on the lattices of ML-KEM, ML-DSA, etc. We have more options, but each algorithm comes with downsides, I wouldn't want to lose any.
I'd expect that for the next 5 years. A broken RSA would have a whole lot more direct impact than a broken ML-KEM would. Breaking lattices would be very annoying to people doing long term crypto planning. And would require throwing out a whole lot of work.
Breaking RSA would harm security on millions of websites and devices. And would involve a whole lot of grief and direct harm to a lot of people.
If RSA is broken, you can quickly switch to EC with a config change and certificate renewal. If ML-KEM is broken, there are no widely standardized/supported alternatives.
> Breaking lattices would be very annoying to people doing long term crypto planning.
It's worse than that because of Harvest Now, Decrypt Later. But yeah, the immediate impact would be lesser.
Few people are relying on ML-KEM only at the moment. And harvest now decrypt later is of a wholly different magnitude compared to “MitM everyone who trusts RSA”.
Especially since 115 out of 167 trusted root certs in the Mozzila trust store still use RSA.
Factoring in P would remove the convenient security argument that breaking RSA is in a whole different complexity class than verifying/decrypting RSA.
But if it is some galactic algorithm with a large constant factor and exponent 20, then you can still double the security of an RSA key by making the key 3% larger. That gives a pretty decent security margin.
"I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P. I don’t know how much to credit this. While I’m virtually certain that the labs are, indeed, sitting on one or more bombshells for cryptography, it’s possible that the exact nature of those bombshells has gotten distorted via a game of Telephone."
O(n^100) is technically polynomial. But with 4096 bits of key material, this would be absolutely ridiculous to attack.
If this math stuff is making you nervous about your current RSA scheme, I'd recommend moving to ECDSA with P-384 or P-521 curves. P-521 gets you close to the nominal classical strength of AES256 which is effectively immune to quantum concerns. It also saves you from the scaling problems with massive RSA keys.
https://scottaaronson.blog/?p=10362#comment-2044495
Replies (8)
Though, you know. Always possible this comment makes me look very foolish in a month.
Replies (2)
I think this is a great reason for the EU to hurry up and design training chips to get into the LLM scaling game, so that it doesn't need to fear lacking critical maths knowledge. One could hope that fear of factoring in P was enough to motivate serious action.
Replies (1)
Replies (1)
Things like traditional cryptographic stuff, things that reduce the strength of the cipher, wrong constants, etc.
Replies (1)
Replies (1)
But there's always details, if the RSA problem is hard, there's this stuff about padding schemes-- what if they're wrong, etc.
But in the end this is a fantastic argument that we Europeans should build huge LLM training supercomputers so we can build frontier LLMs. It feels good to be able to say to people who would say no "So you want us to be mathematically ignorant and not know whether cryptosystems etc. are insecure?" and when they try to defend their view with "But we have good mathematicians, our cryptography is well-checked" "Could your mathematicians prove VNP!=VP?" and then they can't possibly have any counterarguments. There's nothing better for lots of annoying details than thoroughness, and with an LLM you can actually have that.
Continue this thread (1 replies) →
Replies (1)
Breaking RSA would harm security on millions of websites and devices. And would involve a whole lot of grief and direct harm to a lot of people.
One of those is worse than the other.
Replies (1)
> Breaking lattices would be very annoying to people doing long term crypto planning.
It's worse than that because of Harvest Now, Decrypt Later. But yeah, the immediate impact would be lesser.
Replies (1)
Especially since 115 out of 167 trusted root certs in the Mozzila trust store still use RSA.
Replies (1)
But if it is some galactic algorithm with a large constant factor and exponent 20, then you can still double the security of an RSA key by making the key 3% larger. That gives a pretty decent security margin.
If this math stuff is making you nervous about your current RSA scheme, I'd recommend moving to ECDSA with P-384 or P-521 curves. P-521 gets you close to the nominal classical strength of AES256 which is effectively immune to quantum concerns. It also saves you from the scaling problems with massive RSA keys.
Replies (1)