Hacker News new | ask | show | jobs
by lightedman 4 days ago
"y'all are black pilled about computers and security. You believe, incorrectly, that computers can't be safe AND secure AND easy to use all at the same time"

This is basic fact. Man can make it; man can break it. I've never come across anything in my 44 years of life where this wasn't true.

2 comments

> Man can make it; man can break it.

Man can make mathematical proofs that will not be broken. Man is not going to disprove the Pythagorean Theorem. Software is just hifalutin math. There can exist software that, for a given mathematical specification, can be proven correct, and will not be disproven.

"Man is not going to disprove the Pythagorean Theorem"

The pythagroean theorem breaks down in elliptical geometry. This is why it is a theorem and not a law.

OK, produce a SHA-2 collision.
I don't need to produce a collision, I just circumvent or exploit other parts of the system.

Then again, I did defeat Hermes 2 to recover my hard drive. All it took was a lot of hardware and AI and time and luck and brute force to crack the key.

Then you're breaking other man-made things, not SHA2, but I didn't ask about other man-made things.
Why a collision? Abuse it where it is being used. Infect the chain of certificates that guarantees that the hash you are checking is actually the one you want. Send a million legit documents with bad hashes, so that the forged one looks like another legit one. Infect the library that calculates hashes so that these specific documents have a special hardcoded hash.
Because man made SHA-2, so it must be breakable. I don't dispute that there are systems humans make that are breakable (that would be weird given my career).
Well, if you are that picky, then you will have to wait. MD5 was created in 1991, the first collision was found in 2004.
Okay, so you are saying that there may be a design flaw we just haven't seen yet, based on historical precedent. Which is a very weak argument, because you are just making the case for the possibility that you may be correct, and you are just pointing to a historical precedent.

Can you prove that there is no hash function that is not vulnerable? If anything man-made is vulnerable, then there cannot any invulnerable system. That is what you need to prove to win the argument. And if we can prove that any system is unbreakable, you are wrong.

One frustration I have with these kinds of analyses on HN is that they're premised on an idea that cryptanalysis progress is unknowable, and that it's just a matter of time before whatever broke the last iteration of a design is going to break the next iteration of a design. As if cryptanalysis is so complex and forbidding that you might as well think of it as a geological-scale weather phenomenon.

If anything, the opposite thing is true. Each of the MD4, MD5, and SHA1 results are essentially exploits of design weaknesses: iteration insufficiency, too much traceable control over state given message words, weak and linear message schedules.

In the history of hash cryptanalysis, we continuously get better at exploiting these kinds of weaknesses, successfully exploiting differential analyses with smaller and smaller windows of opportunity (which is why SHA1 was such a big deal). But in the same way that you can foreclose entirely on a SQLI with parameterized query, or a memory corruption vulnerability with automatic bounds checking, you can also just make the message schedule (not understood in the era of MD4 to be that big a hinge point) strong and nonlinear.

It is very unlikely that the future of CS holds some reliable way to defeat bounds checking, and, for the same reason, you can find cryptographers like JP Aumasson (a coauthor of BLAKE and BLAKE3, with no particular reason to stan the older NSA construction) saying we're unlikely to break SHA2... ever.

You want to pick a date and make a bet?
You are the one discarding every date. I'll take the opposite bet: it will eventually happen, on some date.