Re:SHA1 collisions make Git vulnerable to attacks
by RubyPinch on Monday February 27, 2017 @06:20AM
(#13743420)
To clarify, I mean to replace the hash with something that would collide far more often, to simulate collisions, to see how git handles them
Re:SHA1 collisions make Git vulnerable to attacks
by robin__j on Monday February 27, 2017 @07:56AM
(#13743829)
https://stackoverflow.com/a/34599081
In this SO answer does it by reducing the hash size from 160-bit to 4-bit.
Re:SHA1 collisions make Git vulnerable to attacks
by CJefferson on Monday February 27, 2017 @06:41AM
(#13743508)
Ah, that is a much more sensible request! Sorry for my harsh reply.
Fixing this is going to require breaking backwards compatability with every program that works with git -- it's going to be a huge undertaking, because early in git's design they didn't support multiple hash functions.