News for hackers. Stuff that matters.
Re:Radicle: Open-Source, Peer-to-Peer, GitHub Alternative by ianopolous on Tuesday March 05, 2024 @06:56AM (#39602219)
So you use hardened sha1 in radicle? It would be great to see this in the docs.
Re:Radicle: Open-Source, Peer-to-Peer, GitHub Alternative by cloudhead on Tuesday March 05, 2024 @09:37AM (#39603993)
Everything that is replicated on the network is stored as a Git object, using the libgit2[0] library. This library uses hardened SHA-1 internally, which is called sha1dc (for "detect collision"). Will add to the docs, good idea!

[0]: https://github.com/libgit2/libgit2/blob/ac0f2245510f6c75db1b...