News for hackers. Stuff that matters.
Re:Colliding Secure Hashes by remram on Friday December 22, 2023 @11:56AM (#38736042)
I like the conclusion. Is there a standard scheme for hash-function-then-key-derivation? You can easily tell users to run `sha256sum` but...

Though I suppose you should use public-key cryptography (e.g. GPG) if you want users to verify downloads to guard from attacks rather than just errors.

GPG/TLS/... should probably use different fingerprint algorithms though.

Re:Colliding Secure Hashes by Avamander on Friday December 22, 2023 @01:57PM (#38737296)
I think it's less about the algorithm, it's more about the representation. If the goal is that users verify these things.

SSH displays pubkey art when generating a new key. We've had secret recovery phrases for a while, they're long but really difficult to confuse with each other even if it's just a short glance. I think OpenPGP had something like that even. Then there's also GitHub that generates (or generated at some point) a custom unique profile picture for users. There are many other similar approaches out there.

It would be possible to create a standard for representing SHA256/SHA512 hashes as human-comparable images. Possibly enhanced with checksum words or with machine readability for those paranoid (without error-prone OCR).

Re:Colliding Secure Hashes by remram on Saturday December 23, 2023 @04:24AM (#38742835)
If your images/list of emojis/phrases are created from the bits of the SHA hash, then similarity there lead to similar images/... You need a hard-to-collide process in the middle anyway.
Re:Colliding Secure Hashes by Avamander on Saturday December 23, 2023 @08:22AM (#38744068)
A strong hash is already difficult to collide. Your algorithm for representation doesn't have to map similar bytes or byte sequences to similar images, but that's just a mapping not really a "hard-to-collide process".
Re:Colliding Secure Hashes by remram on Saturday December 23, 2023 @04:24PM (#38748373)
> A strong hash is already difficult to collide

I don't understand. The whole point of the article is that this isn't true.