Commit Graph

80 Commits (7648332fbc636f619f58eca0093ba0845007126a)

Author SHA1 Message Date
David Núñez bd44c7d65f WorkItem is now Task, and it also handles the output of re-encryption 2019-03-29 10:52:14 +01:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
David Núñez 5846005ca5 WorkOrder has to include Alice's pubkey as ETH address for later use in ZKP logic 2019-02-23 12:37:14 +03:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
jMyles abf00edb47 Catching up Character tests to label move. 2019-02-15 00:28:53 -07:00
jMyles 188c0773b4 Enrico is now a lawful Character. Fixes #241. 2019-02-15 00:28:53 -07:00
tuxxy 92cc46ad8c Rename EncryptingPower/EncryptingKeypair to DecryptingPower/DecryptingKeypair (#597) 2018-12-13 14:17:22 -07:00
David Núñez 015f62c91c Adapt NuCypher to umbral==0.1.2a1 2018-12-10 21:38:22 +01:00
Kieran Prasch 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 2018-12-05 15:58:20 -08:00
David Núñez bad8d9062b Delegator's verifying key should already be as correctness key in the capsule 2018-11-29 16:14:34 +01:00
K Prasch ae8c087cd4
Merge branch 'cedar' into install-communism 2018-11-06 16:23:52 +01:00
Tux 883ad1dda1 Merge branch 'cedar' into install-communism 2018-11-05 06:09:49 -07:00
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
David Núñez f878e5d910 Clarification of some tests for Bob 2018-11-02 21:03:36 +01:00
David Núñez 812a2b0c91 Test for Bob.join_policy() in a separate test module. Fixes #233 2018-10-29 12:10:00 +01:00
David Núñez 310e2f3a55 Move certificates_temdir fixture to fixtures module 2018-10-29 01:52:01 +01:00
David Núñez e13ef06787 Some pending renamings (uri -> label, signing_key -> verifying_key) 2018-10-29 01:51:56 +01:00
David Núñez dddd76e023 High-level test of Bob.retrieves() 2018-10-28 20:05:19 +01:00
David Núñez ef21977cb6 Update tests/characters/test_bob_handles_frags.py
Co-Authored-By: jMyles <justin@justinholmes.com>
2018-10-27 23:27:35 +02:00
jMyles 59ff623949 Ursulas signs CFrags. Fixes #141. 2018-10-27 23:27:35 +02:00
David Núñez 3526f18980 Renaming some variables 2018-10-19 03:11:34 +02:00
Kieran Prasch fe84935768 Create configurations to/from JSON files 2018-10-05 20:17:13 -07:00
Kieran Prasch d02a8bc0bf split Alice and Bob fixtures by operating mode; Cleanup cleanup logic, everywhere 2018-09-24 18:43:01 -07:00
Kieran Prasch 9b04aee6d0 Update tests with updates to configuration and missleware 2018-09-22 21:05:11 -07:00
Kieran Prasch 13764517ac Reflect character initialization logic in NodeConfiguration subclasses; Integrate with local filesystem paths in dev and non-dev modes. 2018-09-22 15:43:35 -07:00
Kieran Prasch f5e0056b5f Update two tests to use ursula configuration fixture 2018-09-19 21:40:35 +02:00
jMyles e93e259eab Once we have the work order, we don't separetly need the cert path, as it is affixed to the work order's Ursula. 2018-09-19 21:40:04 +02:00
Kieran Prasch f8ce7f5520 Extract learning logic into abstract Teacher class 2018-09-18 09:21:24 -07:00
Kieran Prasch cbe7bc79e3 Bifurcate up federated and non-federated ursula generation in tests 2018-09-18 09:19:51 -07:00
jMyles ff90af5a06 Some tidying up after all the shifting around. 2018-09-12 14:04:02 +02:00
jMyles 0b070ec38a Lots of test touch-ups. 2018-09-06 21:01:44 +02:00
jMyles 29039ddfa6 Powers no longer yield public keys specifically, but public material generally of any type. 2018-08-31 12:20:30 -07:00
Kieran Prasch f8e5d58f89 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:24:08 -07:00
jMyles b551067603 Making a distinction between blocking until some number of nodes (any nodes) are learned and blocking until some specific set of nodes are learned. 2018-07-18 20:20:20 -07:00
tuxxy 5727898452 Remove from and fix tests 2018-07-16 19:44:46 -06:00
jMyles cb80379ff1 Bringing tests up to date with new semantics. 2018-07-13 12:12:28 -07:00
jMyles f721d64d09 Finished fetching logic for Arrangements. Fixes #180. 2018-07-13 11:04:52 -07:00
jMyles a88052c9a2 Separating blockchain Alice from regular ole' Alice. Style touch-ups. 2018-07-10 10:14:42 -07:00
jMyles 8f8b28f0d2 Test fixups. 2018-07-05 11:54:45 -07:00
jMyles bcc159367f Fixing up tests. 2018-07-05 11:54:45 -07:00
jMyles 2776928eda Fixing Bob up! 2018-07-02 20:44:09 -07:00
jMyles cced06514d Catching tests up with federated logic. 2018-06-22 20:28:08 -07:00
jMyles 766acca7bf known_nodes is now private _known_nodes. 2018-06-22 20:18:06 -07:00
Kieran Prasch 44952cd636 Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures. 2018-06-20 10:12:00 -07:00
Kieran Prasch 45bf82b033 Removes stale verify corectness params in character tests. 2018-06-19 15:35:36 -07:00
jMyles 8379b23a1f Stray import of Signature. 2018-06-02 19:54:08 -07:00
jMyles 57396ef1ca Fixing the setting of keys for cfrag correctness check, and explicitly passing a constant value so that these tests can be run in isolation. 2018-06-02 16:24:40 -07:00
jMyles 562ec6b95f Using expected_bytes_length for frags. 2018-05-28 10:46:48 -07:00
jMyles 65ade05855 We need a signer in a few places now - using Alice's stamp for that. 2018-05-28 10:34:29 -07:00
jMyles 3e76563c10 Using.get_size() for fragments. 2018-05-08 21:45:00 -07:00