Commit Graph

90 Commits (1685c37407bbc47f7008705187da9db2f7fc302e)

Author SHA1 Message Date
jMyles e7e26c5cc3 Moving freeriding attacks to their own module. 2020-02-16 12:29:10 -07:00
jMyles ed56c78d74 Test showing the 'safeguards removed' variant of trying not to pay. 2020-02-16 11:06:10 -07:00
jMyles 624242d791 Don't need capsule side channel here anymore. 2020-02-15 19:47:09 -07:00
jMyles f0d7781ef5 Fixing up sinpa test to use Amonia. 2020-02-15 17:57:58 -07:00
David Núñez 0faff6f45a Test demonstrating how Alice can do a "sinpa" (dine and dash)
Fake it till you make it

(This commit was modified by @jMyles to depict the attack in a separate test rather than modifying test_decentralized_grant in place.)
2020-02-14 12:26:39 -07:00
tuxxy 96aab3701f Add JSON serialization methods to 'PolicyCredential' 2020-02-10 13:09:15 -08:00
tuxxy 32a95ffd71 Add 'credential' method on 'Policy' w/ consistency tests 2020-02-10 13:09:15 -08:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
Kieran Prasch 0b52cd2c74
Routes Ursula keyring attchment by federated/decentralized mode. 2019-07-25 15:18:29 -07:00
Kieran Prasch 09c8847c14 Dehydration and cleanup of keyring attachment and checksum address selection. Touch ups. 2019-07-04 11:22:39 +02:00
Kieran R. Prasch 3a80eec247 Goodbye, Three Agents. Hello, Agency. 2019-07-04 11:22:38 +02:00
Kieran Prasch f90cc4542e
Testing decentralized grant, Adds missing datetime to policy creation tests. 2019-06-08 14:26:05 -07:00
Kieran R. Prasch cb6c76867a
Removes 'pubkey_sig' from the codebase, In favor of 'verifying_key'. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2e022461af
Handles more ethereum client node info strings; Fixes NameError 2019-06-03 22:51:39 +03:00
Kieran Prasch ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass. 2019-06-03 22:50:40 +03:00
Damon C 5b1953f404 #937 decryption endpoint for Alice 2019-04-29 12:58:23 -07:00
tuxxy 71dc8a5cd1 Add 'add_active_policy' method on Alice 2019-04-10 20:02:31 -06:00
tuxxy 48150def7d Add id property to Policy 2019-04-10 20:01:08 -06:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
David Núñez 0e5b5584ac Bye bye, DataSource. 2019-02-16 18:54:30 +01:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -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 1c86a07a13
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address 2018-12-05 16:17:03 -08:00
Kieran Prasch ed23e08df1
Update tests to use thinned keyring and configuration API 2018-12-05 15:59:50 -08:00
Kieran Prasch 305eadc8d8
Updates tests with NodeStorage internal API usage; passphrase -> password 2018-12-05 15:58:20 -08: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
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
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 7f6b791d0d Umbral release already has KFrag.__repr___ 2018-10-29 01:52:01 +01:00
David Núñez 3526f18980 Renaming some variables 2018-10-19 03:11:34 +02: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 f69380a3dd Namespace and modularize nucypher sandbox utilities 2018-09-18 09:19:46 -07:00
Kieran R. Prasch a6a219cbb0 Integrate downstream changes, from PR #424 2018-09-10 16:13:06 +02:00
jMyles 0b070ec38a Lots of test touch-ups. 2018-09-06 21:01:44 +02:00
tuxxy d0301a7818 Fix imports for restructured test utilities 2018-09-06 06:55:28 -06:00
Kieran Prasch 9bc4b80984 Remove duplicated test ursula cache 2018-08-31 11:28:01 -07:00
Kieran Prasch f8e5d58f89 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:24:08 -07:00
Kieran Prasch 0601094d3f Fix several bad imports post-rebase 2018-08-31 11:16:07 -07:00
Kieran Prasch 66e6517414 Deprecate old config usage, Remove bad imports 2018-08-31 11:16:07 -07:00