Commit Graph

2340 Commits

Author SHA1 Message Date
robk-tahoe
d25d3065d1 mutable: revise a couple of error messages
at brian and zooko's suggestion, reword an error message encountered when
multiple writers are racing to make overlapping changes to a directory
2008-03-24 15:46:28 -07:00
Brian Warner
1869d7c29b upload.py: remove spurious trailing quotes that confuse syntax-highlighting 2008-03-24 15:51:19 -07:00
Brian Warner
1e097766c9 disable plaintext hashes in shares, but leave a switch to turn it back on 2008-03-24 13:39:51 -07:00
Brian Warner
7b21054c33 UNDO: 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.
2008-03-23 15:35:54 -07:00
Zooko O'Whielacronx
3b7b1932a9 CREDITS: add Paul Gerhardt, who submitted a small patch for make check-deps to be more newbie-friendly 2008-03-25 11:47:39 -07:00
Zooko O'Whielacronx
4c21a7e0ef setup: don't echo "signal-error" to stdout when testing for errors
This patch is thanks to Paul Gerhardt.
2008-03-25 11:45:55 -07:00
Zooko O'Whielacronx
29b844efaf docs: document the private/convergence configuration file 2008-03-25 11:22:41 -07:00
Zooko O'Whielacronx
dfdbb95648 fix check-memory to use new upload API (which requires a "convergence" argument), and change it to measure convergence instead of random-key, since convergence is the use case we care about more 2008-03-24 15:28:04 -07:00
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
Brian Warner
7996131a0a 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.
2008-03-23 15:35:54 -07:00
Brian Warner
553367d567 download: make plaintext and ciphertext hashes in the UEB optional.
Removing the plaintext hashes can help with the guess-partial-information
attack. This does not affect compatibility, but if and when we actually
remove any hashes from the share, that will introduce a 
forwards-compatibility break: tahoe-0.9 will not be able to read such files.
2008-03-23 14:46:49 -07:00
Peter Secor
7acb115c6e native client - adding support for special icons for shared and recycling directories 2008-03-20 15:30:26 -07:00
Brian Warner
f17b9839ec docs: add some accounting proposals 2008-03-20 12:18:41 -07:00
robk-tahoe
d0526ef2f9 resolve conflict in windows installer conf 2008-03-18 17:38:44 -07:00
robk-tahoe
f14c498e4f confwiz: refine the descriptive text on the conf wiz pages 2008-03-18 17:06:47 -07:00
robk-tahoe
00751fac29 windows installer: use an allmydata logo in setup wizard 2008-03-18 16:18:07 -07:00
robk-tahoe
605d693fa3 confwiz: reworked confwiz look and feel
this changes the confwiz to have a look and feel much more consistent
with that of the innosetup installer it is launched within the context
of.  this applies, naturally, primarily to windows.
2008-03-18 16:15:36 -07:00
robk-tahoe
d7b82e0555 macapp: updated icon for mac build 2008-03-18 16:13:38 -07:00
Peter Secor
5e7eae0232 native client - adding checks for elevating and managing privileges on Vista 2008-03-18 15:12:59 -07:00
robk-tahoe
e75c417bb5 webish mkdir-p: added unit test
added a test for the simple mkdir-p hack I added yesterday

checks that mkdir-p can create a directory hierarchy, and that resubmitting
a request for the same path yields the existing dir's uri
2008-03-18 13:11:08 -07:00
Peter Secor
5e4a0c7212 windows installer - changed to reflect the new StartAllmydata.exe executable that is used to launch the various pieces of the native client. Also verified that the SMB service was stopped when uninstalling. 2008-03-18 10:44:43 -07:00
Peter Secor
fa3feda37c native client - added StartAllmydata.exe so that we can start/stop processes in Vista 2008-03-18 10:18:47 -07:00
robk-tahoe
08fd16ef78 add a mkdir-p POST handler
this adds a t=mkdir-p call to directories (accessed by their uri as
/uri/<URI>?t=mkdir=p&path=/some/path) which returns the uri for a 
directory at a specified path before the given uri, regardless of
whether the directory exists or whether intermediate directories
need to be created to satisfy the request.

this is used by the migration code in MV to optimise the work of
path traversal which was other wise done on every file PUT
2008-03-17 18:13:01 -07:00
Peter Secor
a7fe82f6b0 native client - fixes for drive size (now 1TB), running service as adminstrator to allow client stopping and starting in Vista, large number of files fix 2008-03-17 14:22:03 -07:00
Brian Warner
75b52cda5c web/status.py: guard against file_size=None, closes #354 2008-03-17 13:31:10 -07:00
Zooko O'Whielacronx
7bc06872ac refactor one of the dispatch routines in webish.py
The behavior is intended to be unchanged by this refactoring.  Unit tests show no change in behavior.
2008-03-20 12:11:09 -07:00
Zooko O'Whielacronx
4e505d9a87 docs: link from install.html to the (imminent) location of allmydata-tahoe-0.9.0.tar.gz 2008-03-13 13:02:37 -07:00
Zooko O'Whielacronx
229142e0fa TAG allmydata-tahoe-0.9.0 2008-03-13 12:09:58 -07:00
Peter Secor
14f6d4975a native client - fixed icon for system tray, improved link batching 2008-03-13 11:22:54 -07:00
Zooko O'Whielacronx
d50cc6c9e8 docs: small edit to relnotes.txt 2008-03-13 12:13:26 -07:00
Zooko O'Whielacronx
f98546d56f docs: link to the current CREDITS file from relnotes.txt 2008-03-13 12:04:20 -07:00
Zooko O'Whielacronx
37665c3468 docs: fix typo in relnotes.txt 2008-03-13 12:01:47 -07:00
Zooko O'Whielacronx
937542fa58 docs: small edit to relnotes.txt 2008-03-13 11:56:55 -07:00
Zooko O'Whielacronx
250cc3a170 docs: update relnotes.txt for allmydata.org "Tahoe" v0.9.0 !
Whee!
2008-03-13 11:43:26 -07:00
Brian Warner
2ef70ab814 mutable.py: split replace() into update() and overwrite(). Addresses #328. 2008-03-12 18:00:43 -07:00
Zooko O'Whielacronx
0aa0efa123 storage servers announce that they will support clients as old as v0.8.0
Not that anyone pays attention to what storage servers claim about what versions they will support.
2008-03-13 09:10:11 -07:00
Zooko O'Whielacronx
d30f8547db CREDITS 2008-03-13 09:04:44 -07:00
Brian Warner
45a1e655c7 introducer: record a timestamp with each announcement, and display it on the introducer's web page 2008-03-11 19:33:19 -07:00
Brian Warner
29e23626ad introducer: record a timestamp with each subscriber, and display it on the introducer's web page 2008-03-11 19:28:37 -07:00
Brian Warner
89be2e1bea introweb: combine announcement and subscriber information to show version+nickname for each client 2008-03-11 19:21:29 -07:00
Brian Warner
c21d30c320 client: publish a 'stub client' announcement to the introducer, to provide version/nickname information for each client 2008-03-11 19:20:10 -07:00
Brian Warner
0c40513e75 webish: put a trailing slash in the node.url file, since our unit tests use it, and some versions of twisted or nevow don't automatically add one 2008-03-11 19:01:18 -07:00
Brian Warner
fd5a922cad introweb.py: tolerate non-setLocationed client tubs 2008-03-11 18:09:13 -07:00
Brian Warner
3f5abe5cba oops, add introducer.xhtml 2008-03-11 17:41:03 -07:00
Brian Warner
810ba68343 add a webserver for the Introducer, showing service announcements and subscriber lists 2008-03-11 17:36:25 -07:00
Peter Secor
f6fa813f74 native client - updated executables and dll's to have green icon, preference for log levels, and force a link every 100 files when uploading large amounts of files 2008-03-11 13:31:26 -07:00
Peter Secor
0830469234 makefile - unreverted Zooko's change to setup.py, this originally was to see if it was causing the build to create a non-running installer on windows, but it wasn't the problem. 2008-03-11 11:10:38 -07:00
Brian Warner
10d3ea5045 increase remote-interface size limits to 16EiB by not casually using 'int' as a constraint 2008-03-11 10:50:31 -07:00
Brian Warner
c727348d85 mutable: tolerate multiple encodings, using whichever version is recoverable first. Closes #312 2008-03-11 00:26:00 -07:00
Brian Warner
791482cf8d test_mutable: improve multiple-encodings test coverage 2008-03-10 23:47:35 -07:00