Commit Graph

365 Commits (78eb904c1031f5923435566b42c201d1f84f0491)

Author SHA1 Message Date
David Núñez a6e839dfee New stakers fixture, consistent with blockchain_ursulas 2019-07-04 11:22:39 +02:00
Kieran Prasch b7012f607f NodeConfiguration -> CharacterConfiguration 2019-07-04 11:22:38 +02:00
Kieran Prasch 568420a9c6 Refinine NodeConfiguration to handle only common parameters; Dehydration and reorg. Optimize character config production file I/O. 2019-07-04 11:22:38 +02:00
Kieran Prasch d888c60607 Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 877833aaf3 Understand Staker and Staking to be separate ideas. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 3a80eec247 Goodbye, Three Agents. Hello, Agency. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 5551ce950c MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test 2019-07-04 11:22:38 +02:00
jMyles 189a87399c Resetting side channel between two of the tests. 2019-07-03 16:55:12 -07:00
jMyles afe26661d5 Adding message number to side channel flow. 2019-07-03 13:51:58 -07:00
jMyles ca68ad6e97 Our capsule side channel now tracks past messages. 2019-06-28 20:10:21 -07:00
K Prasch d743e3b791
Respond to RFCs in PR #984; Apply suggestions from code review
Co-Authored-By: David Núñez <david@nucypher.com>
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2019-06-08 14:32:35 -07:00
Kieran Prasch f90cc4542e
Testing decentralized grant, Adds missing datetime to policy creation tests. 2019-06-08 14:26:05 -07:00
Kieran Prasch 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran Prasch 4a7a881d3e
Realize the Agency metaclass 2019-06-08 14:25:26 -07:00
Kieran R. Prasch 0574cfd908
Ensure alice and bob remember the manually controlled non-staking node in reward integration cli test. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch eca834c00a
Handle non-staking Ursula in-tests; Annotations for failing tests, Make Ursula display name a class attr 2019-06-03 22:52:22 +03:00
Kieran R. Prasch e74ba944f8
Handle geth --dev process as a fixture to stop when finished. Additional test bug fixes, found missing assertions. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2903c6d3e7
Adjust tests to accomodate new eip 191 and on-chain staking checks. 2019-06-03 22:52:22 +03:00
tuxxy 94f273d70c
Add missing import from rebase 2019-06-03 22:52:22 +03:00
Kieran R. Prasch c7d6696bce
Be a little more gentle with domain-based seeding (Ursulas); Skip and modifiy tests (needs follow-up) 2019-06-03 22:51:37 +03:00
Kieran Prasch 75daa85c20
Picking up the pieces- new --sync/--no-sync deploy flag, dehydrate deployment tests. 2019-06-03 22:50:40 +03:00
Kieran Prasch 6ee4e5fb7a
Another pass on handling published registry fetching. Found ancient stubs! 2019-06-03 22:50:40 +03:00
Kieran Prasch ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass. 2019-06-03 22:50:40 +03:00
Kieran Prasch 577c0c7f8c
Add a fourth deployment threee agents fixture, move secret hash kwarg in fixtures to lazy position. 2019-06-03 22:50:40 +03:00
David Núñez 66aaf328c4 mock_ursula_reencrypts as as global fixture 2019-05-16 16:12:08 +02:00
David Núñez 19d3a8cf14 Touchups to some blockchain-related fixtures 2019-05-16 16:07:34 +02:00
David Núñez 7684bb103c Constructs funded_blockchain fixture from testerchain fixture
Gets rid of deployed_blockchain fixture
2019-05-16 16:07:33 +02:00
David Núñez a11d12a494 Move some local fixtures from CLI blockchain ursula to global fixtures 2019-05-16 16:07:33 +02:00
David Núñez 361c068aad Slashing economics fixture 2019-05-16 16:07:33 +02:00
Kieran Prasch 42a1495047
Handling failed deployment transactions 2019-04-22 23:18:51 +03:00
Kieran Prasch 270c56dcc4
CLI deployment adjustments and post-rebase cleanup. 2019-04-22 23:18:51 +03:00
Kieran Prasch 00eaba0d00
Keep economic coefficients as decimal until explictly cast 2019-04-22 23:18:51 +03:00
Kieran Prasch 2d943e6afb
Refactor stake as a self-validating insnatce; Introduce token economincs via dep. injection throughout tests and blockchain API. 2019-04-22 23:18:49 +03:00
David Núñez 41f60099d3 Use TesterBlockchain's test accounts 2019-04-12 07:52:15 +02:00
David Núñez 01c466554a Don't use TesterBlockchain.ether_airdrop if it's already funded or can be done in the constructor 2019-04-12 07:52:15 +02:00
David Núñez 023083db64 Not enough "y'all" in "all y'all". Not enough test ETH, either. 2019-04-12 07:52:15 +02:00
David Núñez 8216d6b39f Simplify default test accounts creation in TesterBlockchain. 2019-04-12 07:52:15 +02:00
Kieran Prasch 215bf5ad7f
Denomination management implementation with NU and Web3. 2019-03-14 13:38:19 -07:00
Kieran Prasch 88ff212f3c
Post-rebase cleanup Pt. II. 2019-03-09 17:32:04 -08: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 R. Prasch c8e460a101
Controller usage touch-ups. 2019-03-06 13:52:45 -08:00
Kieran R. Prasch cb135577bd
Mocks keyring KDF in tests for performance; Updates control fixtures. 2019-03-06 13:52:45 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
tuxxy a8c4ecee3e Use a common policy label fixture 2019-02-16 14:42:06 -07:00
Kieran R. Prasch abdd9ceda8 Remove b64encodings from labels 2019-02-16 14:42:06 -07:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -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 ffd3680d6a Shifts in tests to account for movement of label from Enrico to retrieve. 2019-02-15 00:28:53 -07:00
tuxxy ac9677dad9 Create Enrico.from_alice method and add enrico_control_from_alice fixture 2019-02-15 00:28:53 -07:00
jMyles ff06ceb998 Moving Enrico control onto Enrico. 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 55dec8ff25 Get tests running again 2019-02-15 00:28:53 -07:00
jMyles 83bbf5b03b Tests and fixtures for Alice control via config. 2019-02-15 00:28:53 -07:00
tuxxy 707116470c Change character control namespaces
All character files are moved under the nucypher.network.control
namespace under their respective names (alice, bob, enrico).
2019-02-12 13:49:02 -07:00
tuxxy 01a6493ef7 Add enrico_control fixture and test_enrico_character_control_encrypt_message 2019-02-12 13:49:02 -07:00
tuxxy 35e2942db0 Have make_alice_control and make_bob_control take a teacher node to start the learning loop 2019-02-12 13:49:02 -07:00
tuxxy e9f9b5c227 Have federated_bob learn in bob_control fixture 2019-02-12 13:49:02 -07:00
tuxxy 7882ed6114 Create bob_control fixture 2019-02-12 13:49:02 -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 a56baee69c Add problematic test_alice_character_control_grant 2019-02-12 13:49:02 -07:00
tuxxy 8c5bb1b1eb Fill out alice_control.create_policy w/ TODOs 2019-02-12 13:49:02 -07:00
tuxxy 07762a420a Add alice_control fixture 2019-02-12 13:49:02 -07:00
Kieran Prasch 8922af389c
Updates Web3 python API usage to v5.0.0-alpha.3 2019-01-15 11:47:40 -08:00
Kieran Prasch 787e0eebbd
Remove stale (hopefully) cleanup fixture in favor of ephemeral nodes in 'development mode' 2019-01-05 09:27:48 -08:00
Kieran Prasch c235bb45bb
Select a possibly open non-default port for running tests 2018-12-11 10:01:35 -08:00
Kieran Prasch c90026c7a2
Seperates config.produce from init-parameter generation; DRY up shared blockchin config log on NodeConfiguration and NodeStorage 2018-12-11 10:01:35 -08: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
Kieran Prasch 1f820e0659
Prepare test for cli namespace change and formal cli module 2018-12-05 15:58:20 -08:00
David Núñez 4ab7ad1252 DataSource.encapsulate_single_message() --> DataSource.encrypt_message() 2018-12-03 12:07:33 +01:00
Kieran Prasch 2f1e6eec20
Test database teardown logic 2018-11-09 09:30:15 -08: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 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 1819f9b1af Fixture for Data source must include the label 2018-10-28 20:08:59 +01:00
Kieran R. Prasch eec736d340 Deprecate arming in favor of readiness checks; Generate a default DB name for Ursulas. 2018-10-27 21:51:32 +02:00
Kieran Prasch 4c01385416 Tests deployment and agency components with layering in mind, (Includes UserEscrow) mirrors lower level tests with higher-level integration points 2018-10-27 21:51:28 +02:00
Kieran Prasch b3b644f7a0 Agent and deployer layer testing, including beneficiary contracts 2018-10-17 09:33:30 -07:00
Kieran Prasch 5f84157b96 Derive HostingPower from Keyring 2018-10-14 20:19:02 -07:00
Kieran Prasch a945508a30 Keep default NodeStorages in memory, Unskip and resotre configuration cli tests 2018-10-09 23:42:43 -07:00
Kieran Prasch f13910c365 Dont load metadata in test configurations 2018-10-08 11:22:28 -07:00
Kieran Prasch 888a4d4382 Character pre-init logic for keying in dev mode and for pre-existing accounts 2018-10-05 20:17:13 -07:00
Kieran Prasch 3a31468512 Running multi-host env via CLI; Temp config keyring handling 2018-10-05 20:17:13 -07:00
Kieran Prasch fe84935768 Create configurations to/from JSON files 2018-10-05 20:17:13 -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
Kieran Prasch 4ab2807a9f Update test fixture to testerchain netloc URI; Inreaces test coverage for deployer and agent. 2018-10-02 11:32:55 -07:00
Kieran Prasch 8663bae64e Dedicated method for writing the default blank registry at installation-time; Use no_seed_registry configuration during tests 2018-10-02 11:32:44 -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
Kieran Prasch 7e04dd117b Use static blockchain constants, removes ConstantSorrow usage for static values 2018-09-25 20:26:44 -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 aaba33290d Update tests to new learner names, help with cleanup a little. 2018-09-22 15:44:37 -07:00
Kieran Prasch 2bcc485f93 Add local try/finally in cli.config test to cleanup a single test dir 2018-09-21 09:03:45 -07:00
Kieran Prasch 2384cbf7a0 Update fixture chatacter configurations to use local tmpdir 2018-09-20 12:54:16 -07:00
Kieran Prasch d1ffec14c2 CLI configuration test coverage; Mark unimplemented test as skip 2018-09-19 17:01:01 -07:00
Kieran Prasch c2d35c887d Remove temporary databases by database engine path reference 2018-09-19 16:26:15 -07:00
Kieran Prasch 7e403f39a2 Use pytest fixtures to cleanup temporary directories 2018-09-19 15:25:54 -07:00
Kieran Prasch a63a99c3d9 Auto-initialize temp configuration in fixtures 2018-09-19 13:36:16 -07:00
Kieran Prasch 5b34800761 Use lazy and dynamic runtime path generation, with temp storage options 2018-09-19 13:21:11 -07:00
Kieran Prasch 47d50a9e1a Use character configuration test fixtures. 2018-09-19 21:40:04 +02:00
Kieran Prasch acd2bc1dc6 pass only certificate filepath through rest middleware. 2018-09-19 21:40:04 +02:00
jMyles 5b1cb02f2d Erasing test certs in finally clause. 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 cbe7bc79e3 Bifurcate up federated and non-federated ursula generation in tests 2018-09-18 09:19:51 -07:00
Kieran Prasch 96865929b0 Updates to use namespaced sandbox utilities; Prepare to split make_ursulas. 2018-09-18 09:19:51 -07:00
Kieran R. Prasch 7a725fe0ab Include NodeConfiguraion in CLI - Fixup constants, naming, and imports wlongside DHT removal. 2018-09-18 09:18:41 -07:00
jMyles ff90af5a06 Some tidying up after all the shifting around. 2018-09-12 14:04:02 +02:00
jMyles 4413dc952c More hacking and slashing on the DHT removal and config sanity. 2018-09-11 00:41:44 +02:00
Kieran R. Prasch a6a219cbb0 Integrate downstream changes, from PR #424 2018-09-10 16:13:06 +02:00
K Prasch d558c43e4a
Merge pull request #423 from tuxxy/flag-utils
Flag some utilities as testing-only utilities
2018-09-06 06:07:27 -07:00
tuxxy d0301a7818 Fix imports for restructured test utilities 2018-09-06 06:55:28 -06:00
szotov e1b4c82723 Added checking of secret in the upgrading method in the dispatcher contract 2018-09-01 15:46:40 +03:00
Kieran R. Prasch 06e0575642 Small bug fixes, post-rebase madness 2018-08-31 15:17:12 -07:00
Kieran R. Prasch 4de47ddd3d remove stale module 2018-08-31 12:30:57 -07:00
Kieran R. Prasch 390b01fb2d Use kprasch's fork of eth-tester; Integrate the downstream changes from PR #123 2018-08-31 12:22:42 -07:00
jMyles bd41f34a70 Undoing some of @kprasch's partial pasting practice. 2018-08-31 12:20:30 -07:00
Kieran Prasch 136b485664 Update pyevm backend subclass, use URI for provider connection 2018-08-31 12:20:29 -07:00
Kieran Prasch d23a05536c Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 12:15:55 -07:00
Kieran Prasch 0cc2f3792f CircleCI: directly use install solc script to dodge pipenv api changes 2018-08-31 12:11:45 -07:00
Kieran Prasch 3154fb97b6 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:55:04 -07:00
Kieran Prasch 8e1c8eb375 CircleCI: directly use install solc script to dodge pipenv api changes 2018-08-31 11:50:19 -07:00
Kieran Prasch d8d227309f Bifurcate interfaces module; Circumflex -> Interface 2018-08-31 11:47:42 -07:00
Kieran Prasch 98f9b7f4c9 Update pyevm backend subclass, use URI for provider connection 2018-08-31 11:47:38 -07:00
Kieran Prasch a71cb13730 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:33:43 -07:00
Kieran Prasch c177260684 CircleCI: directly use install solc script to dodge pipenv api changes 2018-08-31 11:31:47 -07:00
Kieran Prasch f5c9f19b70 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:27:59 -07:00
Kieran Prasch f1917560a6 CircleCI: directly use install solc script to dodge pipenv api changes 2018-08-31 11:19:45 -07:00
Kieran Prasch 0601094d3f Fix several bad imports post-rebase 2018-08-31 11:16:07 -07:00
Kieran Prasch b5e029a4ca Support dynamicly added, lazy, multiple blockchain providers 2018-08-31 11:16:07 -07:00
Kieran Prasch 4df1f077fb add demo action to simulation command 2018-08-31 11:16:07 -07:00
Kieran Prasch ffa70a117d Running federated ursula from CLI - Centralizes runtime cruft with injectable overrides while still considering ini config values. 2018-08-31 11:16:07 -07:00
Kieran Prasch 905a0151fb keep contract tests passing alongside api changes (intermediate) 2018-08-31 11:03:54 -07:00
Kieran Prasch 979d5e8def Eliminate __init__.py under any test directory; Relocate utilities. 2018-08-31 11:03:54 -07:00
Kieran Prasch 177cca303e Delay the initialization of agents during CLI runtime + small missing kwarg fix. 2018-08-31 11:03:54 -07:00
Kieran Prasch 2f19b262c4 Small bug fixes 2018-08-31 11:03:54 -07:00
Kieran Prasch 4fd09802ff CircleCI: directly use install solc script to dodge pipenv api changes 2018-08-31 10:53:18 -07:00
Kieran Prasch 9535a80c52 clean-up test utils modules 2018-08-31 10:52:19 -07:00
Kieran Prasch 12148a8d57 Clean-up imports, fixes downstream changes from pyUmbral; re-handle key importing util. 2018-08-31 10:52:19 -07:00
jMyles 188d301f61 Blockchain test compatibility in make_ursulas. 2018-07-19 20:19:24 -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
jMyles 417884a791 Some cleanup for make_ursulas. Lots more to do. #347 2018-07-18 20:20:20 -07:00
szotov d991ca7ba3 Minor improvements for Windows compatibility 2018-07-17 22:39:12 +03:00
jMyles a88052c9a2 Separating blockchain Alice from regular ole' Alice. Style touch-ups. 2018-07-10 10:14:42 -07:00
Kieran Prasch 162c542df4 Combine and reorganize fixture modules 2018-07-05 11:54:45 -07:00
jMyles 7cf5bbf3f2 Fixed up args and kwargs for Character (although needs some organization). 2018-07-05 11:54:45 -07:00
jMyles 303b4dfc8c More test touchups and fixture organization, in anticipation of #338. 2018-07-02 20:44:09 -07:00
Kieran Prasch 8204351b6f Integrate three agents with existing fixtures, restore token airdrop as a utility function. 2018-06-26 01:10:45 -07:00
jMyles edba3a336d Using to_canonical_address instead of unhexlify. 2018-06-23 14:33:46 -07:00
jMyles cced06514d Catching tests up with federated logic. 2018-06-22 20:28:08 -07:00
jMyles 742a00e799 Deprecating testerchain in favor of three_agents. Using three_agents in ursulas fixture. This fixture now returns a set. 2018-06-22 20:27:15 -07:00
jMyles 2d9d25ab8a Using token airdrop and dropping MockTokenAgent. 2018-06-22 20:23:18 -07:00
jMyles e7375e0d98 Removing is_federated and using federated_only instead. 2018-06-22 20:18:06 -07:00
jMyles b2e5d9958e Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop. 2018-06-22 20:18:06 -07:00
jMyles e4253b6c5d Including Ursula ether address as part of public information. 2018-06-20 10:13:26 -07:00
jMyles 0c7646fa94 Working known_nodes into fixtures and tests. 2018-06-20 10:13:26 -07:00
Kieran Prasch 7a35c4b24b Hack together MockRestMiddleware, temp fix until implementing node learning. 2018-06-20 10:12:50 -07:00
Kieran Prasch e2eb556e10 Middleware -> RestMiddleware 2018-06-20 10:12:27 -07:00
Kieran Prasch 94d94d3407 Additional deprecation of alice DHT usage. 2018-06-20 10:12:27 -07:00
jMyles 00d0e64c7e Goodbye nucypher_test_config. 2018-06-20 10:12:26 -07:00
jMyles a02a252d3d Style fixes. 2018-06-20 10:12:26 -07:00
Kieran Prasch e37de07ec0 Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup. 2018-06-20 10:12:00 -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 8a65ca14f2 Deprecated compadability fixtures, updates contract tests to testechain.interface api 2018-06-20 10:12:00 -07:00
Kieran Prasch ff17d1fedb Further integrate TokenActors and Characters with co-op scheme 2018-06-20 10:11:34 -07:00
Kieran Prasch 6e751f6775 Renames(mostly) NetworkyStuff to NetworkMiddleware. 2018-06-20 10:11:28 -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
K Prasch 05abf4dadf
Merge branch 'master' into actor-integration 2018-05-31 10:18:37 -07:00
jMyles fa6a4f6f57 Using pyUmbral Signer as SignatureStamp's signing function. 2018-05-28 12:10:05 -07:00
Kieran Prasch 722cf9918f Nucypher and BlockchainConfig and it's tenticles; Related NucypherConstants and ContractInterface updates. 2018-05-24 10:48:57 -07:00
jMyles 41805d5d06 Removing references to 'KMS' 2018-05-08 13:02:18 -07:00
K Prasch 7dcdf474f2
Merge branch 'master' into solc-pipeline 2018-04-23 00:02:08 -07:00
jMyles f4d43470d2 DelegatingPower now derives its Keypairs from a label. 2018-04-18 23:56:13 -07:00
jMyles 3f55470870 Tests for new Bob and TreasureMap logic. 2018-04-17 01:53:46 -07:00
Kieran Prasch b713d2d8e8 Merge remote-tracking branch 'upstream/master' into solc-pipeline 2018-04-15 12:34:44 -07:00
Justin Holmes 0bae3d04df
Merge branch 'master' into master 2018-04-13 16:22:26 -07:00
tuxxy c043dc2867 Merge remote-tracking branch 'nucypher/master' into solc-registrar 2018-04-13 16:08:26 -06:00
tuxxy a60032a097 Add tempfile_path fixture 2018-04-12 20:59:06 -06:00
Kieran Prasch 5ec9760a83 Consolidate test fixtures and utilities, optimize imports 2018-04-12 20:59:03 -06:00
jMyles cfb36163b6 DataSource now takes the public key of the Policy, not the whole Policy. Thanks @michwill. 2018-04-12 19:19:28 -07:00
jMyles da4966524c Test now uses DataSource. Alice no longer needs to be online in order for a DataSource to send messages to Bob. 2018-04-12 19:19:28 -07:00
jMyles fb826ef349 UmbralMessageKit can now be aware of a policy_pubkey. 2018-04-12 19:19:28 -07:00
jMyles 0a32f7f534 Moving Enrique and SignatureStamp out of characters. Enrique is now DataSource; SignatureStamp now lives in signature. 2018-04-12 19:19:28 -07:00
jMyles 67376fe607 Using Alice's DelegatingPower to make a Policy. 2018-04-12 19:19:28 -07:00
jMyles 9cc25929c8 No more as_b64 for UmbralPublicKeys. 2018-04-12 19:18:42 -07:00
Kieran Prasch 6959516ba6 Consolidate test fixtures and utilities, optimize imports 2018-04-11 20:26:03 -07:00
jMyles 1ea14e514b Switching to maya for most DT things. 2018-04-07 22:13:45 -07:00
jMyles 11263663f3 Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison. 2018-04-05 10:23:28 -07:00
jMyles 17bbf816cd Bob no longer tracks a single Alice as an attribute; instead, he tracks an Alice with each Policy. 2018-02-28 22:04:37 -08:00
jMyles f5e3f978b1 Better Keystore instantiation time, and also no need to manually start servers anymore (as they run on the same thread). 2018-02-28 17:40:49 -08:00
jMyles 7e567c24f6 Introducing named DBs per Ursula. 2018-02-28 17:37:27 -08:00
jMyles e1b4f242ab Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest. 2018-02-24 01:53:20 -08:00
jMyles 760e0a8129 Reflectin refractor of umbral.umbral to umbral.pre. 2018-02-23 22:02:32 -08:00
jMyles bb279fa954 Fixture needs to include (or at least, works better if it includes) Alice's public encryption key. 2018-02-19 15:20:40 -08:00
tuxxy 00b812993c Add pytest fixture for sqlalchemy 2018-02-13 13:30:58 -07:00