Commit Graph

2275 Commits (9cce9f1ae72598b8ead0f002cb92639a721b05a5)

Author SHA1 Message Date
Kieran Prasch d2b35f8ed0 Further integrate NodeConfiguration with CLI 2018-09-19 13:20:29 -07:00
Kieran Prasch 6116dac451 Modify character classes to use runtime files and directories: certificates and metadata 2018-09-19 13:17:21 -07:00
jMyles 38fbb32a2c Passing cert dir through the flow to save the cert to disk. 2018-09-19 13:17:20 -07:00
Kieran Prasch d8208d9e37 Removes anything that mentions the DHT. Kademlia remains. 2018-09-19 13:16:13 -07:00
Kieran Prasch ffb8c5c4f2 Namespace and modularize nucypher sandbox utilities 2018-09-19 13:16:13 -07:00
Kieran Prasch a8544bd93d Modify character classes to use runtime files and directories: certificates and metadata 2018-09-19 13:12:58 -07:00
jMyles 638c78697c Passing cert dir through the flow to save the cert to disk. 2018-09-19 13:12:29 -07:00
Kieran Prasch f3c614db17 Namespace and modularize nucypher sandbox utilities 2018-09-19 13:10:17 -07:00
Kieran R. Prasch fa71f0c8c5 Cleanup run_ursula command and cli module from some stale imports. 2018-09-19 21:40:35 +02:00
Kieran Prasch c23ff73002 Working lonely federated node via CLI using UrsulaConfiguration API 2018-09-19 21:40:35 +02:00
Kieran Prasch 4fe815388b Small adjustment to CLI run_ursula to keep test collection running 2018-09-19 21:40:35 +02:00
Kieran Prasch f5e0056b5f Update two tests to use ursula configuration fixture 2018-09-19 21:40:35 +02:00
Kieran Prasch 600fece176 make_ursulas accepts node configuration instances 2018-09-19 21:40:35 +02:00
Kieran Prasch e8323e125d Pass certificate filepath through TLSHostingPower 2018-09-19 21:40:35 +02:00
Kieran Prasch 81e5fd5641 Optimize imports 2018-09-19 21:40:35 +02:00
Kieran Prasch b4d241da67 Update middlewares to use certificate paths 2018-09-19 21:40:35 +02:00
Kieran Prasch 9842b5d096 Modify character classes to use runtime files and directories: certificates and metadata 2018-09-19 21:40:35 +02:00
Kieran Prasch 47d50a9e1a Use character configuration test fixtures. 2018-09-19 21:40:04 +02:00
Kieran Prasch 9bb4b0512c Configuration classes produce characters. 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
Kieran Prasch a8516ec9ca Import Vladimir's eth keys to the keychain. 2018-09-19 21:40:04 +02:00
jMyles d92c6fe5c3 Bob actually uses federated Ursulas for this test. 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
jMyles 3e5c003573 Passing cert dir through the flow to save the cert to disk. 2018-09-19 21:40:04 +02:00
jMyles 142b0b423c Passing certificate_dir through Ursula. And import cleanups. 2018-09-19 21:38:57 +02:00
K Prasch 453c3466f9
Merge pull request #431 from KPrasch/character-cli
In-memory cli configuration options; Split `make_ursulas`
2018-09-19 10:55:26 -07: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
Kieran Prasch cc7e869f18 Break-out Character class from the lawful. 2018-09-18 09:21:24 -07:00
Kieran Prasch 5f1e1c92a7 Give Vlad a hardcoded fraud, but valid ethereum address and private key 2018-09-18 09:19:51 -07:00
Kieran Prasch 2f2faf9a05 Add editable installation of nucypher to Pipfile (for test entry points) 2018-09-18 09:19:51 -07:00
Kieran Prasch f64cfc28f6 Improve accounts error handling; Trim non-essential test stubs 2018-09-18 09:19:51 -07:00
Kieran Prasch 31705a7fe6 Use temp config in CLI test; Add temp node config fixture 2018-09-18 09:19:51 -07:00
Kieran Prasch cbe7bc79e3 Bifurcate up federated and non-federated ursula generation in tests 2018-09-18 09:19:51 -07:00
Kieran Prasch 35ea6ab054 Use temporary directory as a configuration root; use dynamic filepath generation. 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 Prasch f69380a3dd Namespace and modularize nucypher sandbox utilities 2018-09-18 09:19:46 -07:00
Kieran Prasch bdf522d0a1 Remove experimental pyfakefs code 2018-09-18 09:18:41 -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
Tux 9f7cdbd78c
Merge pull request #439 from tuxxy/kprasch-mypy
#420 but rebased over kokonusswasser
2018-09-18 18:13:41 +02:00
tuxxy 812e0066c6 Install lxml for mypy_type_check in CircleCI 2018-09-18 10:06:33 -06:00
Kieran R. Prasch 3c4793addc Enforce mypy checks 2018-09-18 09:52:40 -06:00
Kieran R. Prasch b4a11896c3 Annotate None for every __init__ in the codebase. 2018-09-18 09:52:39 -06:00
jMyles 6389cb329b Much more solid test for Vladimir posing as Ursula. 2018-09-12 14:04:33 +02:00
jMyles ff90af5a06 Some tidying up after all the shifting around. 2018-09-12 14:04:02 +02:00
jMyles 75a7acc32d Introducing Vladimir. 2018-09-12 14:03:06 +02:00
jMyles dea99a9847 Making some middleware methods less secret so that they can be used in tests. 2018-09-12 14:02:44 +02:00
jMyles d585edf1b9 Track suspicious activity right on the ProxyRESTRoutes class now. 2018-09-12 14:02:18 +02:00
jMyles 127c98816c Moving Characters to characters.lawful, in preparation for (now) the introduction of Vladimir and (not now) the introduction of a factory-style Character creation flow. 2018-09-12 13:58:13 +02:00