Commit Graph

2204 Commits (8df28ce36926d46de3021c9b8ec029f28b6dcd6b)

Author SHA1 Message Date
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
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
jMyles 4413dc952c More hacking and slashing on the DHT removal and config sanity. 2018-09-11 00:41:44 +02:00
Kieran R. Prasch a8dba1b738 Use class-based injectable configuration; Continue to Extricate DHT violently. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch 77766933fa Node storage classmethods, Stub fs isolation with tempdir 2018-09-11 00:29:28 +02:00
Kieran R. Prasch ebcf5d7516 Extricate DHT usage from CLI; egin to move node storages closer to characters. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch 2f409181dd Remove more DHT cruft 2018-09-11 00:29:28 +02:00
Kieran R. Prasch f7c0d7959e Entry points for saving TLS certs + Network Middleware updates for TLS verification. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch e93b7d5a42 Additional filesystem configuration directories to include certs. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch 80a572fa2f Add shortcut method for Ursulas rest url/interface 2018-09-11 00:29:28 +02:00
Kieran R. Prasch c949c45470 type hint cleanup 2018-09-11 00:29:28 +02:00
Kieran R. Prasch c5f7e383f4 Remove class-level DHT attributes from Characters 2018-09-11 00:29:28 +02:00
Kieran R. Prasch df9a9e7900 Save public TLS Certificates to the local filesystem 2018-09-11 00:29:28 +02:00
Kieran R. Prasch 84f0adfd0c Add configuration initilization, destruction, and resetting. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch d582f15292 Log unresponsive teachers, and cycle; Prevents node crashing when another one is down. 2018-09-11 00:29:28 +02:00
Kieran R. Prasch add03fc1b8 Tear out the DHT 2018-09-11 00:29:28 +02:00
Kieran R. Prasch c4627a17a7 mend 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 87c81a16dd rest_interface -> rest_info 2018-09-10 16:13:06 +02:00
tuxxy 652fa9f22b Use message_as_bytes for interface_info in Ursula.__bytes__ 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 0f7eaa486c Remove from config from run ursula cli entry point for demoing 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 22823ee88c Executes node learning from CLI 2018-09-10 16:13:06 +02:00
Kieran R. Prasch a6a219cbb0 Integrate downstream changes, from PR #424 2018-09-10 16:13:06 +02:00