serval-dna/tests
Andrew Bettison 45442d3eb4 Rewrite bundle author authentication
Replaced 'int has_author' manifest element with new 'enum authorship'
element to record the result of author authentication, to avoid
repeating expensive crypto operations.

Separated the handling of bundle secret arguments from author lookup and
authentication.  The new rhizome_apply_bundle_secret(m,bsk) is now
called at the top level to set the manifest secret key (if it
validates), and thereafter there is no need to pass the 'bsk' argument
to any other functions, as they can simply check the 'haveSecret' field
of the manifest.

Removed rhizome_extract_privatekey() which combined author lookup and
bundle secret validation, and replaced it with functions that only deal
with the author: rhizome_lookup_author() and rhizome_authenticate_author().

Renamed other functions to make their purpose and effect clearer.

Formalised the semantics of only storing AUTHENTICATED author SIDs in
the 'author' column of the MANIFESTS table, which necessitated a change
to a 'rhizomeops' test case: when adding a file using a BK-less
manifest, the author column is set to null, so the Rhizome list output
does not show the bundle as ".fromhere" and does not give an author for
that bundle.
2013-11-06 23:58:17 +10:30
..
testdata Add keyring back-compatibility test case 2013-04-29 15:11:04 +09:30
all Change manifest service to MeshMS2 2013-08-01 11:37:35 +09:30
compatibility Issue #20: remove unique socket names from tests 2013-09-20 14:24:55 +09:30
config Rename config option 'log.stderr' to 'log.console' 2013-04-05 16:55:14 +10:30
directory_service Issue #20: remove unique socket names from tests 2013-09-20 14:24:55 +09:30
dnahelper Disable rhizome when testing dnahelper to reduce IO load 2013-05-29 11:58:06 +09:30
dnaprotocol Replace old routing engine with new link state engine 2013-05-02 14:29:28 +09:30
framework Improve test framework: tfw_cmp_version() 2013-10-14 16:45:56 +10:30
jni Add help / version output jni test 2013-07-09 16:24:47 +09:30
keyring Rename 'id revoke' to 'id relinquish' to match documentation 2013-10-15 14:52:07 +10:30
logging Rename config option 'log.stderr' to 'log.console' 2013-04-05 16:55:14 +10:30
meshms Refactor manifest: specific setter functions 2013-11-04 19:17:49 +10:30
rhizomechannels Add 'debug.rhizome_httpd' config option 2013-10-16 11:23:45 +10:30
rhizomehttp Get HTTP Basic authentication working 2013-10-30 11:07:45 +10:30
rhizomeops Rewrite bundle author authentication 2013-11-06 23:58:17 +10:30
rhizomeprotocol Fix bugs in new HTTP server MIME body parsing code 2013-10-28 14:25:16 +10:30
rhizomestress Add 'debug.rhizome_httpd' config option 2013-10-16 11:23:45 +10:30
routing Refactor manifest: specific setter functions 2013-11-04 19:17:49 +10:30
server Issue #20: remove unique socket names from tests 2013-09-20 14:24:55 +09:30