3 ms·
> In future releases, Git will support interoperating between repositories with different object formats by computing both a SHA-1 and SHA-256 hash of each obje
by zimpenfish 6y ago
> In future releases, Git will support interoperating between repositories with different object formats by computing both a SHA-1 and SHA-256 hash of each object it writes, and storing a translation table between them.
Would it not be easier to do something like the modular crypt people and prefix the SHA-256 with something like `$5$`?
- colatkinson 6y agoIt seems this was considered: https://git-scm.com/docs/hash-function-transition/#_using_hash_functions_in_parallel https://git-scm.com/docs/hash-function-transition/#_using_ha... The biggest one of those downsides I think is that the SHA-1 history could be changed out from under you if a new attack was published.