Preserving the global software heritage
Preserving the global software heritage
Posted Jul 8, 2016 6:51 UTC (Fri) by robbe (guest, #16131)Parent article: Preserving the global software heritage
> cannot browse.
To be specific: all you can get currently is a yes/no answer to the question: „is that SHA-1 hash contained in the archive?“
(It was not clear to me.)
SHA-1, while still absolutely enough for this kind of application, seems a strange choice today. Is git compatibility an issue?
Posted Jul 8, 2016 12:50 UTC (Fri)
by smitty_one_each (subscriber, #28989)
[Link] (4 responses)
What else might one recommend?
Posted Jul 8, 2016 20:26 UTC (Fri)
by robbe (guest, #16131)
[Link] (3 responses)
Posted Jul 9, 2016 0:48 UTC (Sat)
by flussence (guest, #85566)
[Link] (2 responses)
Posted Jul 11, 2016 14:22 UTC (Mon)
by hkario (subscriber, #94864)
[Link] (1 responses)
you simply should not use any kind of 160bit hash in current time, especially for a project that is just being deployed
Posted Jul 11, 2016 22:09 UTC (Mon)
by flussence (guest, #85566)
[Link]
Posted Jul 11, 2016 10:33 UTC (Mon)
by zack (subscriber, #7062)
[Link]
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.
Preserving the global software heritage
Preserving the global software heritage
Preserving the global software heritage
Preserving the global software heritage
Preserving the global software heritage
Preserving the global software heritage
/me, wearing his Software Heritage hat
