| My point is: why you should change hashing algorithm in GIT ???
Let's elaborate: 1. Do SHA-1 put a security risk in GIT ? 2. Is that practically exploitable in any way? In some application, for example password hashing, SSH MAC, etc, you have good reasons to change hashing algorithm when it became obsolete: because an attacker can be computationally advantaged to crack a password, to compromise the integrity of transmitted packets, etc. But not because an hashing algorithm became obsolete for some application is obsolete for ALL possible application. Moreover, in some specific application could be DESIRABLE a fasted hashing algorithm. So why You should change SHA-1 in GIT ? >> "But a few more of these tricks and I can see those "garbage comments" collision happening" I don't think so, is computationally astronomically difficult whatever tricks yo u invent.
The point here IS NOT to generate a collision adding "garbage comments", again, is to alter the behaviour of committed code in a functional way. >> "Even without language models you could use something like a language's EBNF grammar as a token generator for source code which would probably pass any glance checks, but definitely not dedicated inspection like a code review. That is probably something that IS PRACTICAL TODAY for SHA1" Yeah, prove it! |