Preserving the global software heritage
Preserving the global software heritage
Posted Jul 11, 2016 10:33 UTC (Mon) by zack (subscriber, #7062)In reply to: Preserving the global software heritage by robbe
Parent article: Preserving the global software heritage
To clarify, we offer only SHA1 as lookup mechanism in the current (very minimal for now) Web UI, but we do not rely on the fact that we will not encounter SHA1 collisions in the wild. (Even though I personally do agree that SHA1 is still absolutely enough for this kind of applications, we are trying to be future proof and we know we will eventually need to move away from SHA1 even for integrity checking purposes.)
Internally in our DB we currently use 3 kinds of checksums—SHA1, SHA2 (256), "salted" SHA1 (a-la git hash-object)—and we do cross checks to spot collisions on a single one of them.
We would like to add SHA3 in the mix (possibly dropping SHA2), but for that we were waiting for a stable SHA3 implementation to land in Python 3.x (we're currently on 3.4).
Hope this clarifies.
/me, wearing his Software Heritage hat
