News for hackers. Stuff that matters.
Re:Microsoft is Abandoning SHA-1 Hashes for Updates by Moodles on Wednesday February 20, 2019 @12:31PM (#19209807)
> A preimage attack is what you worry about if you think the person giving you the signature might be untrustworthy, e.g., they're currently promising one thing but they might swap it out with something else later. A collision attack is what you worry about even if you don't think the person giving you the signature is untrustworthy and you're expecting someone else to swap out the document before it gets to you

You mean vice versa right?

Untrustworthy person: could make a collision before giving you the input and mess you around.

Trustworthy person doesn't do that (because they are trustworthy). But someone might find a second pre-image attack and do it later on

Re:Microsoft is Abandoning SHA-1 Hashes for Updates by geofft on Wednesday February 20, 2019 @12:45PM (#19209974)
Yes, sorry. Please swap "preimage attack" and "collision" in that entire paragraph: I meant to say there were cases where you don't care about a collision (as demonstrated for SHA-1) but you do care about a preimage (not yet demonstrated, but certainly a risk).