4 ms·
"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" T
by lightedman 3mo 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.
- tptacek 3mo agoOK, produce a SHA-2 collision.
- javcasas 3mo agoWhy 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.
- tptacek 3mo agoBecause 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).
- javcasas 3mo agoWell, if you are that picky, then you will have to wait. MD5 was created in 1991, the first collision was found in 2004.
- tptacek 3mo agoYou want to pick a date and make a bet?
- javcasas 3mo agoYou are the one discarding every date. I'll take the opposite bet: it will eventually happen, on some date.
- tptacek 3mo agoI haven't discarded any date. Pick one, and an amount to bet!
- javcasas 3mo ago> OK, produce a SHA-2 collision. - Why a collision? > 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). Thus implying there are man-made systems that are not breakable, and furthermore SHA-2 is one of them. > I haven't discarded any date. Going back so quickly?
- tptacek 3mo agoI'm sorry, you've lost me. I was responding to the claim that any man-made system was breakable. The most obvious example of a man-made system that is unlikely to be breakable in our lifetimes (so, I'll say, "ever") is SHA2. Then someone responded that SHA2 wasn't an interesting target. It doesn't have to be; it just has to be man-made, or concede the narrowing of the original claim.
- jrflowers 3mo agolmao at substituting “ever” for “in our lifetimes” “That will never happen” and “I think I’ll die before that happens” aren’t interchangeable. Hydrogen will never have two protons, SHA-2 will be broken. “I personally don’t consider a future where I’m not around as existing” is like busting out an Uno reverse card when you lose a hand at poker
- 3mo ago
- tarpitt 3mo agoOkay, 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.
- tptacek 3mo agoOne 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.
- deleted 3mo ago[deleted]
- deleted 3mo ago[deleted]
- lightedman 3mo agoI 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.
- tptacek 3mo agoThen you're breaking other man-made things, not SHA2, but I didn't ask about other man-made things.
- kibwen 3mo ago> 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.
- lightedman 3mo ago"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.