Remix.run Logo
▲ onlyrealcuzzo 6 hours ago

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.

▲adrian_b 2 hours ago | parent | next [-]

Breaking RSA is irrelevant for decrypting the tons of stored encrypted packets.

RSA has been used almost exclusively for digital signatures, i.e. for the certificates used to authenticate servers and sometimes also clients.

The key exchange was done in the early years of Internet mostly with classic Diffie-Hellman, but more recently with the elliptic curve variant of Diffie-Hellman.

For any stored encrypted communications, what is needed is not breaking RSA, but breaking the elliptic curve variant of Diffie-Hellman. A few of the stored encrypted communications may have used pre-shared secret keys instead of elliptic-curve DH, and those would continue to remain impossible to decrypt.

Breaking RSA would be useful only for the future, e.g. by creating fake servers that impersonate some existing important servers, or if there are sites where clients are authenticated with RSA-based certificates, breaking RSA would allow attackers to login there. If RSA-based authentication is used with SSH, such SSH servers would be vulnerable to malicious logins.

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

> let's assume standard encryption is no longer safe

Encryption or cryptography?

AES isn't falling. SHA-2 and SHA-3 are not falling. Only asymmetric key cryptography is (basically RSA but also impliedly ECC since prime number factorization is equivalent to the discrete logarithm problem). Post-quantum asymmetric key cryptography would still be standing, but PQC is only deployed for key exchange, not for signatures (authentication).

So standard cryptography would be in serious trouble, but standard encryption would not be.

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

> basically RSA but also impliedly ECC since prime number factorization is equivalent to the discrete logarithm problem

Dicrete logarithms and prime factorization are both instances of a more general problem, the hidden subgroup problem. But they are not known to be equivalent: even given an oracle that can tell you the prime factors of any integer, we don't have a classical algorithm that could efficiently compute discrete logarithms, or vice versa.

So, as far as we currently know, it's possible to find an efficient classical algorithm for breaking RSA but not ECC. Of course, it's also possible that there exists an efficient classical algorithm that solves the general hidden subgroup problem, like a classical equivalent of Shor's algorithm, and then both RSA and ECC fall together - it's just not a given.

▲cryptonector 13 minutes ago | parent [-]

True. They are thought to be equivalent, but that's not proven.

▲inkysigma 2 hours ago | parent | prev [-]

Is ECC in any immediate danger? I don’t know (and I am pretty skeptical) if you can actually always embed an elliptic curve group in some finite field? That seems odd?

▲tavavex 5 hours ago | parent | prev | next [-]

Practically speaking, it seems unlikely that absolutely everything is saved due to storage space. If I were the one doing the saving, I would focus on high-importance traffic that is likely to have a decently high signal-to-noise ratio. That means that smaller, unimportant websites may get away with forcing users to authenticate through email, pushing the burden of proper authentication up to the email providers. Larger services will need to resort to more radical measures, such as refusing to log anyone in and only leaving people with an active session, or only allowing logins from the same IP or geographical area as before and cutting the losses on all other 'lost' accounts.

▲OkayPhysicist 5 hours ago | parent [-]

I wouldn't be so sure. Global, annual internet traffic is in the single-digits zettabyte scale, which could be reduced by an order of magnitude if you skipped data that looked like video streaming from a CDN. That looks like a couple billion dollars per year, which for state actors isn't completely insane. I wouldn't be shocked if the NSA and whatever China's intelligence is called both have a significant chunk of all traffic saved.

▲tavavex 4 hours ago | parent [-]

Could that level of retention be perceptible from the outside due to the disproportionate spending and enormous orders for storage makers taking up a noticeable chunk of global manufacturing capacity?

▲xvector 3 hours ago | parent [-]

The NSA already has DCs with enough storage to retain all traffic they find interesting. They have for some years now.

▲doctoboggan 5 hours ago | parent | prev | next [-]

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

▲dinosaurdynasty 5 hours ago | parent [-]

Non-quantum forward secrecy algorithms are unfortunately broken by quantum computers/Shor's algorithm/etc (and some are probably broken by factoring in P).

▲consp 4 hours ago | parent [-]

The question is broken at scale. If you have a haystack of needles, good luck finding the right one.

▲jrflo 5 hours ago | parent | prev | next [-]

Everyone would need to migrate to post-quantum encryption, and all passwords encrypted with RSA would need to be updated?

▲adrian_b 2 hours ago | parent | next [-]

While it is possible to use RSA for encryption, I am not aware of any widespread application that uses RSA for this purpose.

The main application of RSA is in digital signatures, e.g. in the certificates used to authenticate servers and clients, not in any encryption algorithms.

Breaking RSA would allow future bypasses of the authentication procedures, but it would have a negligible effect for the safety of past encrypted communications.

▲sobiolite 5 hours ago | parent | prev | next [-]

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?

▲scythe 5 hours ago | parent | next [-]

I think NP-complete encryption exists. It would be a huge deal if P = NP, and an even more huge deal if the exponent is small. It would not only break encryption but also make loads of impractical problems practical.

OTOH, if the exponent is large, factorization in P might not change much. When primality was discovered to be in P, the first exponent proven was 12. That was later lowered substantially, but with an exponent of 12 the RSA key would need on the order of 5000 trillion trillion trillion operations, which I think is still infeasible.

▲amzok 5 hours ago | parent [-]

Theoretical computer science is about the worst-case which is misleading when it comes to practice. SAT is NP-complete, with the best known algorithm running in 2^n time, yet in practice it is solved on instances with tens of millions of variables.

▲fedupnow 5 hours ago | parent | prev [-]

Yes, even a quantum computer with millions and millions of qubits would need billions of years.

Also llms can hardly center a div 50% of the time I ask them to. Im not worried about this. Im more worried for all the humans who are one-shot by llms screwing up the world

▲mcintyre1994 5 hours ago | parent [-]

I think the concern is more that there's a flaw in the algorithm. Eg Mythos was used to find a flaw in HAWK which was one of the candidate algorithms in NIST's standardisation process.

▲fedupnow 2 hours ago | parent [-]

Well then I would say that llms are contributing to the hardening of these algorithms. Its not like we cant update our crypto.

▲kps 4 hours ago | parent | prev [-]

No one with any sense would store passwords at all.

No one with any sense would use RSA as a hash function.

No one with any sense would use asymmetric encryption for local storage.

No one with any sense—

We're screwed, aren't we?

▲oddIdentities 9 minutes ago | parent [-]

no?

▲agumonkey 5 hours ago | parent | prev | next [-]

it's the information equivalent of jurassic park

▲ 5 hours ago | parent | prev | next [-]
[deleted]
▲bigbadfeline 4 hours ago | parent | prev | next [-]

> For the sake of a thought experiment, let's assume standard encryption is no longer safe...

For the sake of a thought experiment, let's assume the Rocky Mountains are made of lead azide...

> What does that mean?

Basically everybody should stop walking, talking, breathing - there should be complete motionless silence at all times, that would be a lot more important than some useless algorithms. The question is, when do we start implementing the policies of complete silence? Obviously, it should be before any measures regarding algorithms - because of the much higher importance of the new "thought experiment".

There's only one conclusion, if we're going to play chicken little, it's better to do it using the case of explosive Rockies rather than some unimportant algorithmic problems.

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

My reply to this comment will arrive through the post office

▲233mhz 6 hours ago | parent | prev | next [-]

> What does that mean?

Reject humanity, return to monke

▲squidmaster 5 hours ago | parent [-]

[dead]

▲thcipriani 5 hours ago | parent | prev | next [-]

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.

▲origini 5 hours ago | parent | next [-]

I had my own html form to change the endpoint of the email web provider from http to https and that was 2006 or 2007.

For a while i checked what a service will do when i forget my password. Too many knew my old one.

Never trust the internet.

▲onlyrealcuzzo 5 hours ago | parent | prev | next [-]

This honestly sounds like an improvement, imo.

▲euroderf 2 hours ago | parent | prev [-]

Click your secret decoder rings together to generate and share a few tens of gigabytes of OTP. Maybe some Java rings scavenged off of Ebay ?

▲fedupnow 5 hours ago | parent | prev | next [-]

Probably means a lot of politicians dirty secrets get unlocked, potentially some crimes are solved. But probably not.

▲debo_ 3 hours ago | parent [-]

Remember the Panama papers? No one cares.

▲ 5 hours ago | parent | prev | next [-]
[deleted]
▲SecretDreams 4 hours ago | parent | prev | next [-]

> Basically every online service needs to go down until there's a new solution?

I long for such a vacation

▲m3kw9 5 hours ago | parent | prev [-]

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.

▲catigula 5 hours ago | parent [-]

Why do you think Bitcoin has been tanking?

▲onlyrealcuzzo 5 hours ago | parent [-]

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?