]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
upload: stop putting plaintext and ciphertext hashes in shares.
authorBrian Warner <warner@lothar.com>
Sun, 23 Mar 2008 22:35:54 +0000 (15:35 -0700)
committerBrian Warner <warner@lothar.com>
Sun, 23 Mar 2008 22:35:54 +0000 (15:35 -0700)
commit7996131a0aa0b55c88153e62cd8436dc1c0a7d88
tree9da5fd1dd63252a16bdc40d21964224896c39667
parent553367d56763f3442ff28a5c5b7ea62865ae4ff0
upload: stop putting plaintext and ciphertext hashes in shares.
This removes the guess-partial-information attack vector, and reduces
the amount of overhead that we consume with each file. It also introduces
a forwards-compability break: older versions of the code (before the
previous download-time "make hashes optional" patch) will be unable
to read files uploaded by this version, as they will complain about the
missing hashes. This patch is experimental, and is being pushed into
trunk to obtain test coverage. We may undo it before releasing 1.0.
src/allmydata/encode.py
src/allmydata/test/test_encode.py
src/allmydata/test/test_system.py