News for hackers. Stuff that matters.
Re:The first chosen-prefix collision for SHA-1 by joeyh on Tuesday January 07, 2020 @12:20PM (#21982044)
"(b)" is kind of amusing.. It's been known since 2011 that collision generating garbage material can be put after a NUL in a git commit message and hidden from git log, git show, etc. Still not fixed.

With this chosen-prefix attack, they chose two prefixes and generated collisions by appending some data. So your two prefixes just need to be "tree {GOOD,BAD}\nauthor foo\n\nmerge me\0"

The only thing preventing injecting a backdoor into a pull request now seems to be git's use of hardened sha1.

There are no comments on this comment yet.