tahoe-lafs/src/allmydata
Zooko O'Whielacronx fc3bd0c987 use added secret to protect convergent encryption
Now upload or encode methods take a required argument named "convergence" which can be either None, indicating no convergent encryption at all, or a string, which is the "added secret" to be mixed in to the content hash key.  If you want traditional convergent encryption behavior, set the added secret to be the empty string.

This patch also renames "content hash key" to "convergent encryption" in a argument names and variable names.  (A different and larger renaming is needed in order to clarify that Tahoe supports immutable files which are not encrypted content-hash-key a.k.a. convergent encryption.)

This patch also changes a few unit tests to use non-convergent encryption, because it doesn't matter for what they are testing and non-convergent encryption is slightly faster.
2008-03-24 09:46:06 -07:00
..
gui confwiz: refine the descriptive text on the conf wiz pages 2008-03-18 17:06:47 -07:00
scripts runner: tweaked runner to make it easier to extend with additional subcommands 2008-02-19 17:05:14 -07:00
test use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
util use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
web use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
windows move registry module into allmydata.windows package 2008-01-10 19:03:23 -07:00
__init__.py setup: require specific versions of dependencies, both at run-time (if pkg_resources is available) and at build-time, and make there be only once place where we specify those versions 2008-01-22 17:24:33 -07:00
checker.py webish: add 'download results', with some basic timing information 2008-03-03 19:19:21 -07:00
client.py use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
codec.py allow the introducer to set default encoding parameters. Closes #84. 2007-07-12 15:33:30 -07:00
control.py use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
debugshell.py finish storage server and write new download 2007-03-30 10:52:19 -07:00
dirnode.py mutable.py: split replace() into update() and overwrite(). Addresses #328. 2008-03-12 18:00:43 -07:00
download.py download: make plaintext and ciphertext hashes in the UEB optional. 2008-03-23 14:46:49 -07:00
encode.py upload: stop putting plaintext and ciphertext hashes in shares. 2008-03-23 15:35:54 -07:00
filenode.py test_mutable: improve test coverage a bit, add test_filenode.py 2007-12-03 21:37:54 -07:00
hashtree.py switch from base62 to base32 for storage indices, switch from z-base-32 to rfc 3548 base-32 for everything, separate out base32 encoding from idlib 2008-02-14 19:27:47 -07:00
interfaces.py use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
introducer.py introducer: record a timestamp with each announcement, and display it on the introducer's web page 2008-03-11 19:33:19 -07:00
manhole.py trailing-whitespace eradication, no functional changes 2007-11-01 15:22:41 -07:00
mutable.py mutable.py: split replace() into update() and overwrite(). Addresses #328. 2008-03-12 18:00:43 -07:00
node.py macapp: simplify node startup failure reporting 2008-03-06 15:09:04 -07:00
offloaded.py webish: add more share information to upload status, including assisted uploads 2008-03-05 19:51:51 -07:00
provisioning.py fix pyflakes warning 2008-03-10 16:14:03 -07:00
stats.py stats: make StatsGatherer happy about sharing a process with other services, add one during system test to get some test coverage 2008-03-03 23:55:58 -07:00
storage.py storage servers announce that they will support clients as old as v0.8.0 2008-03-13 09:10:11 -07:00
upload.py use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00
uri.py uri.py: get 100% test coverage, fix a few bugs in the process 2008-03-04 14:27:45 -07:00
webish.py use added secret to protect convergent encryption 2008-03-24 09:46:06 -07:00