logoalt Hacker News

ba1afd89f34cb23 • yesterday at 6:05 PM • 1 reply • view on HN

Her entire section 2 (starting at 6:12) is basically about why git does not and will never allow mixing of SHA1 and SHA256.

The interop discussed is using copybara as a copy tool to move data from SHA1 based repos to SHA256 based repos and vice versa.


Replies

RJIb8RBYxzAMX9u • yesterday at 6:33 PM

Thanks. I went back and re-watched that part, and her point's that "[a] tree's cryptographic strength is equal to the weakest hash algorithm anywhere in the tree," and that's fair. I also understand why Git 3.0 may not want to give user the choice, though I would still rather it be given.

➕ show 2 replies