update
This commit is contained in:
parent
44b9ac41a4
commit
63df8d8966
1 changed files with 4 additions and 4 deletions
|
@ -27,15 +27,15 @@ A few other potential problems:
|
||||||
|
|
||||||
Impact is limited, because even if an attacker does this, the key also
|
Impact is limited, because even if an attacker does this, the key also
|
||||||
contains the checksum (eg SHA2) of the annexed data. The current SHA1
|
contains the checksum (eg SHA2) of the annexed data. The current SHA1
|
||||||
attack is only a prefix attack; it does not allow creating two colliding
|
attack is only a common-prefix attack; it does not allow creating two
|
||||||
keys that contain two different SHA2 checksums. That would need a
|
colliding keys that contain two different SHA2 checksums. That would need a
|
||||||
preimage attack to be feasible.
|
chosen-prefix attack to be feasible.
|
||||||
|
|
||||||
It might be worth limiting the length
|
It might be worth limiting the length
|
||||||
of an extension allowed in such a key to the longest such extension
|
of an extension allowed in such a key to the longest such extension
|
||||||
git-annex has ever supported (probably < 20 bytes or so), which would
|
git-annex has ever supported (probably < 20 bytes or so), which would
|
||||||
be less than the size of the data needed for current SHA1 collision
|
be less than the size of the data needed for current SHA1 collision
|
||||||
attacks. Presumably aa preimage attack would need a similar amount of
|
attacks. Presumably aa chosen-prefix attack would need a similar amount of
|
||||||
data.
|
data.
|
||||||
|
|
||||||
* It might be possible to embed colliding data in a specially constructed
|
* It might be possible to embed colliding data in a specially constructed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue