diff options
author | Joey Hess <joey@kitenet.net> | 2014-08-15 13:38:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-08-15 13:38:08 -0400 |
commit | b38491100168141f2a1daa089a5416a92014ec25 (patch) | |
tree | 4d20c2bad90cf37242d81eee9f5d91ab7b8731a4 /doc | |
parent | 6c36d87ceff8b792e1f1a0f6b324e79173cc923c (diff) | |
parent | 0f68f003606002fc496fe8eca3909571dba17bb2 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/Possible_data-loss_if_WORM_keys_do_not_encode_relative_paths/comment_1_b37615636e685b60fab8ae1c4276d032._comment | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/Possible_data-loss_if_WORM_keys_do_not_encode_relative_paths/comment_1_b37615636e685b60fab8ae1c4276d032._comment b/doc/bugs/Possible_data-loss_if_WORM_keys_do_not_encode_relative_paths/comment_1_b37615636e685b60fab8ae1c4276d032._comment new file mode 100644 index 000000000..71164b0bd --- /dev/null +++ b/doc/bugs/Possible_data-loss_if_WORM_keys_do_not_encode_relative_paths/comment_1_b37615636e685b60fab8ae1c4276d032._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.7" + subject="comment 1" + date="2014-08-15T17:32:15Z" + content=""" +I don't see much difference between (mtime, size, location) and (mtime, size) as far as entropy goes. Consider: A repository with all files in a single directory in the top level is going to have identical probabilities of collision either way. A less special case of a repository that typically has files added to it in a particular directory (\"inbox\", say), is again going to have identical probabilities of collision. + +If you're worried about such collisions, you should not be using WORM. I think that the documentation for it is pretty clear. + +If we really wanted to increase the entropy of worm, we could add a random number to the key, or perhaps the file's (original) inode number. +"""]] |