Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

is it a real problem for git? Do we merge code based on hashes instead of looking at the code.


The problem is in if you can make evil code with the same hash as innocuous code, you can poison people who pull from a given repo you have access to. It would allow you to make changes to the history without merging anything or anyone being the wiser.

It makes the distributed aspect of git untrustworthy, as previously you knew if you pulled from anywhere and the hash was good, you’d pulled the correct code. With SHA1 being functionally broken that’s no longer necessarily the case.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: