Commit Graph

252 Commits (d5f7289515b639937e615945f4551d7ac7f7bb10)

Author SHA1 Message Date
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
David Núñez d48e9fc184 Make changes in Character.from_public_keys() truly backwards-compatible 2019-05-16 16:12:08 +02:00
David Núñez 4d0e34d545 Improved API for Character.from_public_bytes(). 2019-05-16 16:12:07 +02:00
David Núñez 9698e43ae3 Simplify test_collect_rewards_integration in test_blockchain_ursula.py 2019-05-16 16:07:33 +02:00
Damon C ad532d9b78 remove unneeded key arguments 2019-04-30 11:09:47 -07:00
Damon C 5b1953f404 #937 decryption endpoint for Alice 2019-04-29 12:58:23 -07:00
tuxxy fbe204ce17 Fix character-control revoke test by using a different label -- you can't grant access twice 2019-04-10 21:27:25 -06:00
tuxxy 71dc8a5cd1 Add 'add_active_policy' method on Alice 2019-04-10 20:02:31 -06:00
tuxxy 5b4f3da3d1 Modify revoke endpoint to accept label and bob's verifying key instead of the policy key 2019-04-10 20:02:31 -06:00
tuxxy 48150def7d Add id property to Policy 2019-04-10 20:01:08 -06:00
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
tuxxy 9cedc5ecd4 Fix leftover issues from rebase 2019-03-24 09:30:20 -06:00
tuxxy 90e4427680 Store 'active_policies' instead and finish revoke endpoint
Storing revocation kits was one approach, but it seems more useful to
store "active" policies, instead. I think this will probably assist in
future additions as well.
2019-03-24 09:30:20 -06:00
Kieran Prasch f98fce348c
Dealing with the side effects of BlockchainPolicy updates 2019-03-09 17:31:28 -08:00
Kieran Prasch 244f0e0885
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests. 2019-03-09 17:31:28 -08:00
Kieran Prasch 84ef320a4c
Updates policy encrypting key derivation language. 2019-03-06 16:39:02 -08:00
Kieran Prasch 1be1dab6c8
Respond to RFCs in PR #802. 2019-03-06 16:29:33 -08:00
Kieran R. Prasch c8e460a101
Controller usage touch-ups. 2019-03-06 13:52:45 -08:00
Kieran R. Prasch dae7d59768
Updates key languagse and key encodings in test; Uses latest modifer flags ordering 2019-03-06 13:52:45 -08:00
Kieran R. Prasch a9bab0e4ba
Fix malformed logging described in #724 and more 2019-03-06 13:48:22 -08:00
Kieran R. Prasch 35c1e19138
Fixes caught by character specifications; Formalize specification classes. 2019-03-06 13:48:22 -08:00
Kieran R. Prasch 3e202da0a4
Update tests to suit controller classes API 2019-03-06 13:48:22 -08: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
David Núñez 3391fbcb47 Bob CharControl endpoint for getting encrypting and signing public keys 2019-02-16 23:21:39 +01:00
Kieran R. Prasch 89d26301ea Passing character control tests with more sensible API fields and serilization. 2019-02-16 14:42:06 -07:00
tuxxy a8c4ecee3e Use a common policy label fixture 2019-02-16 14:42:06 -07:00
Kieran R. Prasch 9dccbc7377 work-around for message kit serialization Issues; Fails on Tmap decryption. 2019-02-16 14:42:06 -07:00
Kieran R. Prasch a1e1e39168 Adds failing message kit serialization test 2019-02-16 14:42:06 -07:00
Kieran R. Prasch e7da2240eb More b64 serialization deprecation; Flask response nucypher versioing 2019-02-16 14:42:06 -07:00
Kieran R. Prasch abdd9ceda8 Remove b64encodings from labels 2019-02-16 14:42:06 -07:00
Kieran R. Prasch 351569b05b Update character control tests to use unicode strings in tests 2019-02-16 14:42:06 -07: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
jMyles 9ff5f7b6f8 Some rapid crazy changes with @kprasch to fix failing tests. 2019-02-15 00:30:44 -07:00
Kieran R. Prasch c43cdd573b Update Tests with corrected naming conventions for Flask test client - bug fixes for CLI tests. 2019-02-15 00:28:53 -07:00
jMyles abf00edb47 Catching up Character tests to label move. 2019-02-15 00:28:53 -07:00
jMyles ffd3680d6a Shifts in tests to account for movement of label from Enrico to retrieve. 2019-02-15 00:28:53 -07:00
jMyles b4bc2ce090 join_policy() can now be made thread-safe by passing block=True 2019-02-15 00:28:53 -07:00
jMyles 3204427d4e Remaining formatting, reprs, imports, and cleanups from my work following @tuxxy's rebase. 2019-02-15 00:28:53 -07:00
tuxxy 26b1951488 Move test_character_control.py to tests.characters 2019-02-15 00:28:53 -07:00
tuxxy e86d496762 Fix lifecycle test
David told me that this test would fail because it Bob didn't provide
his signing key. I somehow forgot that while making these changes and
spent hours trying to figure out why the map_id was wrong. I even
commented out bob's signing key knowing I would have to uncomment it
later. I'm done for today.

Import Alice in cli.alice

Fix arg name
2019-02-15 00:28:53 -07:00
jMyles 0866abaaac Moving Bob controller right on to Bob. 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 924d7388a9 Raise TypeError when TreasureMap isn't decrypted and add test to demonstrate 2019-02-12 13:49:02 -07:00
tuxxy 79661e58b2 Add failing test for TreasureMap serialization 2019-02-12 13:49:02 -07:00
jMyles 12d5ab0489 Two changes in tests to reflect new APIs: 1) Vladimir gets a cert filepath and 2) We don't pass tls as a kwarg anymore for keyring. 2019-01-15 15:20:17 -05:00
Kieran Prasch 8922af389c
Updates Web3 python API usage to v5.0.0-alpha.3 2019-01-15 11:47:40 -08:00
tuxxy 92cc46ad8c Rename EncryptingPower/EncryptingKeypair to DecryptingPower/DecryptingKeypair (#597) 2018-12-13 14:17:22 -07:00