mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
cmake: warn for not using sha1dc
git's hash algorithm is sha1dc, it is not sha1. Per Linus: > Honestly, git has effectively already moved from SHA1 to SHA1DC. > > So the actual known attack and weakness of SHA1 should simply not be > part of the discussion for the next hash. You can basically say "we're > _already_ on the second hash, we just picked one that was so > compatible with SHA1 that nobody even really noticed. Warn users who try to compile with SHA1 instead of SHA1DC.
This commit is contained in:
@@ -253,6 +253,8 @@ will introduce a number of breaking changes in v2.0:
|
||||
https://github.com/libgit2/libgit2/pull/6924
|
||||
* ci: port latest fixes to nightlies by @ethomson in
|
||||
https://github.com/libgit2/libgit2/pull/6926
|
||||
* cmake: warn for not using sha1dc by @ethomson in
|
||||
https://github.com/libgit2/libgit2/pull/6986
|
||||
|
||||
### Documentation improvements
|
||||
|
||||
|
||||
Reference in New Issue
Block a user