aboutsummaryrefslogtreecommitdiff
path: root/doc/devblog/day_450__hardening_against_SHA_attacks.mdwn
blob: 5e419dea7a403827cbb392704a6fc87cecb985c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Yesterday I said that a git-annex repository using signed commits and SHA2
backend would be secure from SHA1 collision attacks. Then I noticed that
there were two ways to embed the necessary collision generation data inside
git-annex key names. I've fixed both of them today, and cannot find any
other ways to embed collision generation data in between a signed commit
and the annexed files.

I also have a design for a way to configure git-annex to expect to see only
keys using secure hash backends, which will make it easier to work with
repositories that want to use signed commits and SHA2. Planning to implement
that tomorrow.

[[todo/sha1_collision_embedding_in_git-annex_keys]] has the details.