Re:NIST Retires SHA-1 Cryptographic Algorithm
by bawolff on Thursday December 15, 2022 @06:02PM
(#34007057)
I'm not sure what scenarios there are where you have a possibility of the attacker creating 1 file but not both. Especially because the attacker doesn't need to fully control both files but could control only a prefix of one of them and still do the attack.
I also think working out all the possibilities is really hard, and using sha256 is really easy.
While such a scenario may be plausible for a public file repository, so SHA-1 is a bad choice for a version control system like GIT, there are a lot of applications where this is impossible, so it is fine to use SHA-1.