A new hash algorithm for Git
A new hash algorithm for Git
Posted Feb 3, 2020 22:02 UTC (Mon) by josh (subscriber, #17465)Parent article: A new hash algorithm for Git
(I *don't* want to bikeshed the hash selection here. But I wonder if that hash selection might be worth benchmarking and re-evaluating now that the infrastructure is ready.)
Posted Feb 4, 2020 2:07 UTC (Tue)
by KaiRo (subscriber, #1987)
[Link]
Posted Feb 4, 2020 14:40 UTC (Tue)
by cesarb (subscriber, #6266)
[Link]
Posted Feb 5, 2020 15:17 UTC (Wed)
by smoogen (subscriber, #97)
[Link]
In the end, you just have to choose something and implement it and know that you will have to choose something else again in 2-3 years and implement that. There is no 'right' choice. There are just an infinite 'wrong' ones which are either more wrong or less wrong.
A new hash algorithm for Git
A new hash algorithm for Git
A new hash algorithm for Git
1. Like a game of scissors-rocks-paper there is no one right choice that 'wins'. You choose shasha versus chachacha and you find out that both are weak against an attack that plugh294 isn't. However plug294 is weak against and attack that shasha is good at and chachacha is sort of ok.. etc etc etc.
2. Because of that and that the attacks get better.. any choice you make at time X will look bad in time X+1. This leads to a lot of projects doing the 'jump to the latest findings' switching crypto or checksums or signing to the latest thing which was written to be stronger than whatever you chose at X time. However also due to 1.. you end up finding that you have to keep hopping.