Rendered at 16:31:17 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
tmarkovski 2 days ago [-]
I guess you gotta start somewhere. Git has supported sha256 since 2.29, but not many people used it because you couldn't host it on github and git 3.0 will make it the default for new repos. The python2 comparsion is fair for tooling though: I wrote a git gui client and I had to handle both 20 and 32 byte object ids and check hash version in the commit-graph file.
It's ironic that this announcement arrives in the same week as the widely disseminated NSA recommendation to move to 384 bit or 512 bit sizes for SHA.
Git 3.0 might be better served by either going that route or specifying a non-cryptographic hash entirely, or declaring SHA-1 an insecure, yet weirdly slow message digest.
PaoloBarbolini 3 days ago [-]
Still no IPv6...
Panzerschrek 2 days ago [-]
> When you create a repository, you can now choose either SHA-1 or SHA-256 as its hash algorithm
This means that existing repositories can't use it. So, what's the point? Now we have python2/python3 Ipv4/Ipv6 kind of situation.
[1]: https://blog.gitbutler.com/git-3-sha-256
The highest upvoted comment is me calling it "full of mistakes and misleading claims".
Rocketgit (AGPL) supports SHA-256 since December 2022. 26 repositories use it (1.4%). First repo used it on September 2022.
https://rocketgit.com
Git 3.0 might be better served by either going that route or specifying a non-cryptographic hash entirely, or declaring SHA-1 an insecure, yet weirdly slow message digest.
This means that existing repositories can't use it. So, what's the point? Now we have python2/python3 Ipv4/Ipv6 kind of situation.