Commit Graph

195 Commits (6ab8f4862ff889979de47596be0a088495d6b183)

Author SHA1 Message Date
Kieran Prasch 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 2018-12-05 15:58:20 -08:00
K Prasch 892f926e6e
Merge pull request #584 from cygnusv/alice-decrypts
Alice can decrypt data encrypted for her policies
2018-12-03 15:29:20 -08:00
David Núñez 6de99512eb
Merge pull request #521 from tuxxy/fourth-annual-updated-revoke
Implement Revoke
2018-12-03 23:23:53 +01:00
David Núñez 4ab7ad1252 DataSource.encapsulate_single_message() --> DataSource.encrypt_message() 2018-12-03 12:07:33 +01:00
David Núñez bb0de18dac Some type hints here and there 2018-12-03 12:07:28 +01:00
tuxxy 398d854f7f Add revocation integration test (thanks @cyngusv) to test_bob_joins_policy_and_retreives 2018-11-30 13:18:13 -07: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
David Núñez 92ce6321fa Test Alice can decrypt . It fails. (yikes!) 2018-11-29 16:14:18 +01:00
tuxxy da7ca8d13e Move Revocation to its own class 2018-11-21 12:07:13 -07:00
tuxxy db96bb13c0 Return a tuple of (Revocaton, None) when revoke_arrangement returns 404 2018-11-19 16:44:38 -07:00
tuxxy a12c9b1134 Use DELETE method for RESTful call to revoke_arrangement 2018-11-19 16:44:38 -07:00
tuxxy c130df05f3 Add test_revocation 2018-11-19 16:44:38 -07:00
tuxxy 0ddfa230de Refactor to use new RevocationKit 2018-11-19 16:44:38 -07:00
tuxxy 57db0e8639 Test alice_can_grant_and_revoke and add revoke_arrangement to MockRestMiddleware 2018-11-19 16:44:38 -07:00
jMyles 458b999ddd Moved away from treating known_nodes as a dict throughout. 2018-11-16 10:24:26 -08:00
David Núñez 3773acd432 Generalize Alice's DelegationPower test to other powers 2018-11-08 12:50:13 +01:00
David Núñez 608d468b26 Testing persistence of Alice's DelegatingPower 2018-11-08 12:07:12 +01:00
David Núñez a2c6618b41 Janitorial stuff 2018-11-08 12:06:35 +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 69515ff97a Fix missing steps for test federated Bob.retrieves() 2018-10-29 12:40:34 +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 7f6b791d0d Umbral release already has KFrag.__repr___ 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 5b0eb0003d Allow Vladimir to claim a BlockchainPower on the target Ursula's node; Use EvilMiddleware (skip Vladimir's SSL) 2018-10-02 21:19:23 -07:00
Kieran Prasch 76d8a2efd5 deprecate usage of certificates_dir from TLSKeypair and HostingPower 2018-10-02 21:19:23 -07:00
Kieran Prasch f9cfd597d4 Pass TLS certificate filepaths into node_information endpoint 2018-10-02 11:32:55 -07:00
Kieran Prasch ab798bb4f3 Carefully piece together NodeConfiguration that works for lazy, temp, test, and real configs; Read seed registry 2018-10-02 11:32:55 -07:00
jMyles 217d7b49a8 A few test things: Adding MockRestMiddleware where appropriate and expressly setting Ursula's verified_stamp status to False to show that it gets set to True during verification. 2018-10-02 17:33:53 +02:00
jMyles 369e87e829 Signed interface info messages includes timestamp. 2018-10-02 17:32:46 +02:00
tuxxy bd3f19c7e7 Add test for Ursula serialization 2018-09-28 12:47:12 -06:00
Kieran Prasch e60706793a Optimize imports project-wide 2018-09-25 20:27:27 -07:00
Kieran Prasch 4b7fcd318e split Alice.grant test by operating mode; Cleanup BlockchainPolicy in preperation for futher integration. 2018-09-24 18:43:01 -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
jMyles f7447d50e9 Fixing the test by copying Ursula's stamp. 2018-09-20 14:06:45 +02:00
Kieran Prasch f5e0056b5f Update two tests to use ursula configuration fixture 2018-09-19 21:40:35 +02:00
Kieran Prasch a8516ec9ca Import Vladimir's eth keys to the keychain. 2018-09-19 21:40:04 +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 e4fd0647e2 Removes anything that mentions the DHT. Kademlia remains. 2018-09-18 09:23:31 -07:00
Kieran Prasch f8ce7f5520 Extract learning logic into abstract Teacher class 2018-09-18 09:21:24 -07:00