For the sake of a thought experiment, let's assume standard encryption is no longer safe...
As others have noted, people have been storing tons of encrypted packets waiting for the day they can break this.
What does that mean?
Basically every online service needs to go down until there's a new solution?
Would most old non-2fa accounts - practically speaking - need to be thrown out, as there would be no way to know who it belonged to?
One would assume that trying to keep Pandora's Box shut for too long is not really possible, and if something of this magnitude is out there, it's only a matter of time until it gets into the wrong hands.
> people have been storing tons of encrypted packets waiting for the day they can break this.
I think this would only work before forward secrecy became common. So probably the last 10ish years are safe, but if various actors were storing from before then I think those comms could be broken.
Are you confident that post-quantum encryption cannot also be broken? Either by the current generation of models, or their successors, given the current rate of apparent advancement?
Signing up for an online service becomes like joining a clandestine torrent tracker where you have to meet up in person. Internet becomes tower of babel-style bunch of small, diconnected networks. Nbd.
Prob gets real ugly if they tell gov't first, gov't would want to take advantage of it for a bit before releasing, but may take too long + red tape + threat of nat sec. You may get other countries catching up to the possibility.
Because miners are selling instead of HODLing at the same time retail demand is down 20-30% at the same time everything Tether invested in besides Treasuries is falling?
If such a finding is announced, and if factoring in P is feasible beyond the nation-state level, I wonder whether the U.S. government could invoke the Defense Production Act and other emergency powers to essentially commandeer the AI companies' compute capacity to address the crisis that would occur.
If that's a possible outcome, maybe it's in the AI companies' best interest to keep it as quiet as possible for as long as possible.
Why would the government need to compel a solution that the market would already be immediately demanding and ready to pay huge sums of money to resolve?
I really don't think any crisis would occur. Hundreds of millions of dollars that wouldn't have otherwise been spent would go to a transition; and, it'd be a stimulus for some sectors of the technology industry. That's about it.
Even if you could literally break RSA on a laptop, and even considering the oddball non-TLS corners of technology that depend on RSA, I don't think that much would practically happen. We lived through a long era where virtually nothing was cryptographically secure (remember: a good long stretch of the time we've been encrypting things with RSA, we were holding it wrong, and it was trivially breakable in several different ways). Those weaknesses (no encryption or bad encryption) were not the primary vector through which things were broken.
Maybe, but once people know for a fact that it is feasible, independent discoveries will just happen. Once other countries' geniuses know with certainty that factoring in P is feasible, it's only a matter of time before they figure it out. Something about removing the cloud of uncertainty makes our meat brains a lot more likely to find a solution.
I feel like this is because once there is known treasure, everyone races out the door with their shovel to go find it. So in essence, the effort to go find this will go up exponentially, and some people will have added will to do so.
If factoring is practical and easy... very important phrase, this rather alarmist paragraph is contingent on this being easy... this will be a literally all hands on deck situation. The entire global economy will be at stake and all governments will effectively be in a war situation. Up to and including literally bombing anyone who tries to take advantage of the situation and hack around, regardless of any previous war implications of that, because the US, the EU, China, Russia, India, and pretty much every major power will instantly be on board with this. (Sneaking around with spies and intelligence agencies is all fun and games, but everybody can break everything is not the stable equilibrium they are adapted for and no serious power will want that.) Nuking the hackers will be seriously considered. We, the people reading this, will be obligated to put in whatever overtime we need to resolve this as quickly as possible, with hastily drafted legal penalties for failure to do so. There will be effectively no upper bound to what the government will do to address this. It could negate all the benefits of AI to date in one fell swoop.
How do we tell if that is the case? Well, there will be a series of escalating rumors and actions that only make sense in light of this... swiftly passed bills that have weird language about mandating technical overtime or executive orders that bizarrely lift overtime restrictions for our field, or the relatively sudden appearance of new encryption standards at a pace orders of magnitude faster than we've seen before, or the sudden appearance of laws or executive orders about mitigating liability for honest attempts at upgrading security. Or it leaks out to a bad party and we start seeing hacks that shouldn't be able to happen and have no plausible explanation other than the ability to see through encryption. I doubt we'd jump straight to an announcement that it's Go Time without other twitches and signals first. You can't keep this completely quiet.
On the other hand, if we just get life as normal in the next few months... that is, the new normal of a critical security vulnerability every other day or so... then either this is a rumor that isn't quite true (Scott's "game of Telephone"), or the "crack" is such a large order polynomial that it is still impractical. There's even a long-term happy outcome possible here, where A: RSA is "broken" but B: the AI has proved that the best possible algorithm is O(n^12) or something where we can bound our risk and don't need to completely panic the way O(n log n) with some reasonable constant factor would.
I would still rate the latter as more likely, of course. That AIs could beat us at factoring primes is not hard to believe in light of previous results. That it might be distressingly easy and something we need to address, something not strong enough to base the entire economy on, but it isn't in fact so easy that the almost the entire internet instantly turns transparent, is plausible. That we've been completely freaking wrong about how hard the problem is and in fact it is a walk in the park to factor a large number... that's kind of hard to believe. It's not impossible. But it's hard to believe. If that is the case it would IMHO easily be the most shocking proof AI has found to date, and it wouldn't even be close.
RSA is important, but it isn't that important. The US government mandated going to ECC for classified processing some 21 years ago, only now temporarily paused to make the next transition to PQC.
I have vaguely gathered that factoring can be done using Shor's algorithm which is very reliant on cancelling using quantum Fourier transforms. This is because there is a deep periodicity in prime numbers that is exploited by the algorithm.
The existence of quantum algorithms is a bit of a canary that there is a classical algorithm that does the same thing. We've seen this before with sparse matrix's.
I don't think that anyone has found an elliptic curve cracker for quantum computers.
In hindsight it might be that the surprise is that Shor's algorithm held out as quantum only for so long.
Anthropic factored RSA-896 a couple of months ago (https://saweis.net/posts/rsa-896.html). They used existing methods and stressed that they didn't find a more efficient approach to factoring (maybe true, maybe not...). It does show however that they are at least looking at the problem and willing to throw substantial computing power at it. Perhaps they have had a breakthrough.
Integer factoring is in NP and coNP so, unless P=NP, factoring is not NP-Complete [0].
That is, integer factoring has a decidable, deterministic, "is this number (only) a prime", 'yes' and 'no' variant. Deciding whether it's composite doesn't mean you're given the divisor.
If P=NP, then integer factoring is in P trivially, because the polynomial hierarchy collapses, but the other way doesn't hold. To be clear, I think there's essentially no chance P=NP.
While it's in the realm of feasibility that a mathematical breakthrough like this could happen, remember that there have been rumors cycles about AI breaking encryption like this since the days of OpenAI Q* in 2023.
Seems like it's time to improve encryption. Now that computers are 10/100x more powerful than the 90s, it seems obvious to me that we should wrap messages in multiple entirely independent encryption schemes (e.g. elliptic curves).
Same, and I've been doing exactly that for my personal tools for many years. I've been surprised at the willingness of supposedly security-conscious people to put all their eggs in one basket, and indeed often even outright hostility at the idea of it, attacking as an entirely futile waste of effort.
I agree, I think in a lot of cases it would make sense, as a safeguard, but you need to be aware of the risks of doing it.
There are several ways in which the two layers can end up not being completely independent from each other, and either the breakage of one leads to breaking the other, or their combination breaks both.
A lot of people would dumbly even use the same key in both algorithms, but it's also easy for the two keys to be correlated, when generated together, for problems in each algorithm's implementation (such as non constant operations) to help with breaking both, etc.
Indeed, and optimization, statistics, machine-learning theory, and numerical analysis was also less than 1% instead of the maths literature average of ~20%.
Things that could help breaking cryptography are some of the most aggressively studied, I'm not sure how suspicious it was (although I could see the government pressuring to not release even lesser results in the field).
When a disproof of such a famous and well-posed problem remains out of reach for generations, believing that one outcome is much more likely than the alternative is more of a personal opinion than something grounded in evidence.
I like to think that P=NP, because it says things that are currently impossible might not be. And the implications could be greatly empowering for science. But alas, it could be false.
Very likely elliptical curves as well. Factoring and logarithms are effectively same problem and you can also see it in i.e. Pollards Rho being developed for factoring and then bent for logarithms.
Factoring is closely related to discrete logarithm problems in unit groups of finite fields. It isn't really related to the discrete logarithm problems in the elliptic curve groups used in cryptography. This is why, at least publically, factoring is subexponential and the elliptic curve DLP is still exponential. So an independent breakthrough would likely be needed to break elliptic curve cryptography.
Could this be dowstream from GRH? Like, if you found a neat way to sample primes (which I understand is the consequence), I guess you could O(lg n) your way out of the problem of factorization. Happy to be corrected
can we stuff this entire scene into the high school cafeteria it resembles and then launch it into fucking space? discussions about reddit posts about blog comments about rumors
Big problem with post quantum crypto is that we kind of don't know if it is actually working. Is there some mistake which we don't see but make it easily breakable? Elliptical curves have a lot of setup variables where a mistake will break the whole asymetric encryption magic into pieces. PQ crypto is much more fragile in this regard.
More like 3 weeks if you are running Ubuntu…. Given their recent handling of the kernel, I don’t want to wait for this be the latest reason to migrate my servers to Debian.
More seriously, this will not get rolled out universally in three days. Embedded systems cannot be upgraded on a whim, if at all. This stuff is everywhere and cannot be trivially patched to add post-quantum algorithms.
The radius of the fallout could make the recent vulnerability apocalypse feel like a non-event by comparison.
It wouldn't surprise me if the rumours are being spread to promote AI companies (or at least investment in them). Of course, merely being in P doesn't necessarily mean that it's computationally feasible, but I guess that once a technique is discovered, it could be later improved.
https://scottaaronson.blog/?p=10362#comment-2044495 , Scott Aaronson in a comment on his own blog: "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."
https://x.com/AndrewCurran_/status/2125589468786909510 , Andrew Curran on X, quote tweet: "Scott Aaronson on his blog [referring to the post above, includes screenshot]. I have also heard this. In fact, this rumor has persisted for about ten days, about both Anthropic and OpenAI. Considering how closely their recent math results have mirrored each other, if one has it, they probably both do. This would crack RSA."
https://x.com/aran_nayebi/status/2125596838120046846 , Aran Nayebi on X, quote posting the previous X: "Btw, this is the rumor I've been hearing as well for the past week, which is why the current factoring results were a bit of the let down, and may not be the full story:"
That's all you need, no need to follow the actual X links if you don't want to, they're just for citation purposes.
This tracks suspiciously with the governments suggesting a week or two back that we get ready for some downtime. A lot of people were worried that it was a subtle suggestion they were going to go to war, but possibly it's because prime-based encryption is broken with something at least semi-practical, in which case rather a lot of the people reading this can expect to miss Christmas this year as we do an emergency upgrade to elliptic-curve and post-quantum encryption post-haste. (Yes, this isn't about "quantum" but there's definitely some overlap here.)
I'll just describe it, since there isn't much more content than the headline:
It's a link to a Reddit thread with the subject above, showing a screen shot from some forum with a comment supposedly from Scott Aaronson saying that big labs are "sitting on" some result they discovered relating to factoring complexity.
Then a bunch of comments that you can probably generate in your mind, that add no more information.
As others have noted, people have been storing tons of encrypted packets waiting for the day they can break this.
What does that mean?
Basically every online service needs to go down until there's a new solution?
Would most old non-2fa accounts - practically speaking - need to be thrown out, as there would be no way to know who it belonged to?
One would assume that trying to keep Pandora's Box shut for too long is not really possible, and if something of this magnitude is out there, it's only a matter of time until it gets into the wrong hands.
I think this would only work before forward secrecy became common. So probably the last 10ish years are safe, but if various actors were storing from before then I think those comms could be broken.
Reject humanity, return to monke
If that's a possible outcome, maybe it's in the AI companies' best interest to keep it as quiet as possible for as long as possible.
Even if you could literally break RSA on a laptop, and even considering the oddball non-TLS corners of technology that depend on RSA, I don't think that much would practically happen. We lived through a long era where virtually nothing was cryptographically secure (remember: a good long stretch of the time we've been encrypting things with RSA, we were holding it wrong, and it was trivially breakable in several different ways). Those weaknesses (no encryption or bad encryption) were not the primary vector through which things were broken.
Llms also make it much easier for non-experts to take advantage of hearing about the break
How do we tell if that is the case? Well, there will be a series of escalating rumors and actions that only make sense in light of this... swiftly passed bills that have weird language about mandating technical overtime or executive orders that bizarrely lift overtime restrictions for our field, or the relatively sudden appearance of new encryption standards at a pace orders of magnitude faster than we've seen before, or the sudden appearance of laws or executive orders about mitigating liability for honest attempts at upgrading security. Or it leaks out to a bad party and we start seeing hacks that shouldn't be able to happen and have no plausible explanation other than the ability to see through encryption. I doubt we'd jump straight to an announcement that it's Go Time without other twitches and signals first. You can't keep this completely quiet.
On the other hand, if we just get life as normal in the next few months... that is, the new normal of a critical security vulnerability every other day or so... then either this is a rumor that isn't quite true (Scott's "game of Telephone"), or the "crack" is such a large order polynomial that it is still impractical. There's even a long-term happy outcome possible here, where A: RSA is "broken" but B: the AI has proved that the best possible algorithm is O(n^12) or something where we can bound our risk and don't need to completely panic the way O(n log n) with some reasonable constant factor would.
I would still rate the latter as more likely, of course. That AIs could beat us at factoring primes is not hard to believe in light of previous results. That it might be distressingly easy and something we need to address, something not strong enough to base the entire economy on, but it isn't in fact so easy that the almost the entire internet instantly turns transparent, is plausible. That we've been completely freaking wrong about how hard the problem is and in fact it is a walk in the park to factor a large number... that's kind of hard to believe. It's not impossible. But it's hard to believe. If that is the case it would IMHO easily be the most shocking proof AI has found to date, and it wouldn't even be close.
My gut feeling is that entire category of asymmetry would probably be at risk.
I have vaguely gathered that factoring can be done using Shor's algorithm which is very reliant on cancelling using quantum Fourier transforms. This is because there is a deep periodicity in prime numbers that is exploited by the algorithm.
The existence of quantum algorithms is a bit of a canary that there is a classical algorithm that does the same thing. We've seen this before with sparse matrix's.
I don't think that anyone has found an elliptic curve cracker for quantum computers.
In hindsight it might be that the surprise is that Shor's algorithm held out as quantum only for so long.
That is, integer factoring has a decidable, deterministic, "is this number (only) a prime", 'yes' and 'no' variant. Deciding whether it's composite doesn't mean you're given the divisor.
If P=NP, then integer factoring is in P trivially, because the polynomial hierarchy collapses, but the other way doesn't hold. To be clear, I think there's essentially no chance P=NP.
[0] https://en.wikipedia.org/wiki/Integer_factorization#Time_com...
If they felt that it’s constructive towards something more efficient, they’d still want to keep it under wraps.
“There,” he said. “Now we will not eat any more cookies.”
“But we can open the box, and then open the box inside the box” said Toad.
“That is true,” said Frog.
There are several ways in which the two layers can end up not being completely independent from each other, and either the breakage of one leads to breaking the other, or their combination breaks both.
A lot of people would dumbly even use the same key in both algorithms, but it's also easy for the two keys to be correlated, when generated together, for problems in each algorithm's implementation (such as non constant operations) to help with breaking both, etc.
So elliptic curve and post-quantum algorithms are already in use.
It'd be quite interesting for the math community if this minority was right after all. Crazy times.
I like to think that P=NP, because it says things that are currently impossible might not be. And the implications could be greatly empowering for science. But alas, it could be false.
I am assuming some of the post quantum algos people have been developing would still be OK?
Depending on the degree of polynomial required, it might even be a purely theoretical exploit of RSA that's not computationally feasible yet.
Rumors are swirling that this might be market manipulation.
Rumors about rumors.
Guess the doomers were right?
More seriously, this will not get rolled out universally in three days. Embedded systems cannot be upgraded on a whim, if at all. This stuff is everywhere and cannot be trivially patched to add post-quantum algorithms.
The radius of the fallout could make the recent vulnerability apocalypse feel like a non-event by comparison.
https://scottaaronson.blog/?p=10362#comment-2044495 , Scott Aaronson in a comment on his own blog: "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."
https://x.com/AndrewCurran_/status/2125589468786909510 , Andrew Curran on X, quote tweet: "Scott Aaronson on his blog [referring to the post above, includes screenshot]. I have also heard this. In fact, this rumor has persisted for about ten days, about both Anthropic and OpenAI. Considering how closely their recent math results have mirrored each other, if one has it, they probably both do. This would crack RSA."
https://x.com/aran_nayebi/status/2125596838120046846 , Aran Nayebi on X, quote posting the previous X: "Btw, this is the rumor I've been hearing as well for the past week, which is why the current factoring results were a bit of the let down, and may not be the full story:"
That's all you need, no need to follow the actual X links if you don't want to, they're just for citation purposes.
This tracks suspiciously with the governments suggesting a week or two back that we get ready for some downtime. A lot of people were worried that it was a subtle suggestion they were going to go to war, but possibly it's because prime-based encryption is broken with something at least semi-practical, in which case rather a lot of the people reading this can expect to miss Christmas this year as we do an emergency upgrade to elliptic-curve and post-quantum encryption post-haste. (Yes, this isn't about "quantum" but there's definitely some overlap here.)
https://scottaaronson.blog/?p=10362#comment-2044495
https://xxcancel.com/aran_nayebi/status/2125596838120046846
https://xxcancel.com/AndrewCurran_/status/212558946878690951...
It's a link to a Reddit thread with the subject above, showing a screen shot from some forum with a comment supposedly from Scott Aaronson saying that big labs are "sitting on" some result they discovered relating to factoring complexity.
Then a bunch of comments that you can probably generate in your mind, that add no more information.