Commit Graph

2222 Commits (d615587e64030f7f45e8ed9b470604963840cc77)

Author SHA1 Message Date
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
Kieran R. Prasch 198071e21e Remane nucypher CLI module; Additional CLI testing stubs for debugging ease. 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 1288fc19f9 Stub CLI tests: One test module per command. 2018-09-10 16:13:06 +02:00
Kieran R. Prasch dfebbe55ff Add CLI test modules 2018-09-10 16:13:06 +02:00
Kieran R. Prasch 2510bcdefd Include cli test entrypoints in CircleCI config 2018-09-10 16:13:06 +02:00
Kieran R. Prasch e88eb9a138 Add Initial nucypher-cli (click) tests module 2018-09-10 16:13:06 +02:00
jMyles f80b0ca9e4 Fixes and smoothing the recent cherry-pick; making a smooth surface for Kokonusswasser. 2018-09-10 16:12:43 +02:00
jMyles 0b070ec38a Lots of test touch-ups. 2018-09-06 21:01:44 +02:00
jMyles 8ff4d9aeba For tests, getting mock ursula by node instance most of the time. 2018-09-06 21:01:44 +02:00
jMyles 0fcc3e2357 Settling functions between ProxyRESTServer and ProxyRESTRoutes. 2018-09-06 21:01:44 +02:00
jMyles 60e448f49b Verifying that identity evidence matches. 2018-09-06 21:01:44 +02:00
jMyles 1fbb577194 Using single rest_url instead of port and host. 2018-09-06 21:01:44 +02:00
jMyles 8f1497ba53 Working cert into material generation. 2018-09-06 21:01:44 +02:00
jMyles 1f4b96f3ef rest_app is public now; reworking public_material back to public_keys. 2018-09-06 21:01:44 +02:00
jMyles c412460b17 Including certificate in node serialization. 2018-09-06 21:01:44 +02:00
jMyles 5b26e884a0 Accomodate public TLSHostingPower / ProxyRESTServer. 2018-09-06 21:01:44 +02:00
jMyles 65fd76f50e Easier rest_url access. 2018-09-06 21:01:43 +02:00
jMyles 1306d23bb7 Graceful crashing when a node has trouble off the main thread. 2018-09-06 21:01:43 +02:00
jMyles 26268a1ba0 Tests need a way to get a mock ursula by passing in a node instance, not merely a port. 2018-09-06 21:01:43 +02:00
jMyles 7b298d5828 New arguments passed into ProxyRESTRoutes in lieu of entire Ursula. 2018-09-06 21:01:43 +02:00
jMyles d2250b2a84 Shifting things around a bit, introducing ProxyRESTRoutes, and starting to implmenet rest_information(). 2018-09-06 21:01:43 +02:00
jMyles a6baa8c2c7 Cleaning up log message. 2018-09-06 21:01:43 +02:00
jMyles 850c559d4c Moving away from rest_interface in favor of rest_information() 2018-09-06 21:01:43 +02:00
jMyles f39321c025 Reversed the polarity of TLSHostingPower <=-=> ProxyRESTServer. 2018-09-06 21:01:43 +02:00
jMyles 79c062599b Per our discussion last night, moving TLSHostingPower to network.server and beginning the 'Kirby' pattern. 2018-09-06 21:01:43 +02:00
jMyles 7bf42d8990 Uncorked stake (ie, Ursula doesn't stake really for tests) and removed skips. 2018-09-06 21:01:43 +02:00
jMyles 07fe4f9b30 Simpler InterfaceInfo. Loopback literals are now localhost. 2018-09-06 21:01:42 +02:00
jMyles 6567a7b7bf certificate is now public and can be passed in. 2018-09-06 21:01:01 +02:00
jMyles 219dee25dc Simplifies Ursula interface info with metadata (after all, it's just her bytes). 2018-09-06 20:59:47 +02:00
jMyles aa0bd30569 Test showing that node can be verified with certificate. 2018-09-06 20:59:07 +02:00
jMyles ff5a3faa3d Passing and using host in HostingKeypair. 2018-09-06 20:58:25 +02:00
jMyles f5a0b2cd95 These tests are a little funny for the moment. Need to skip them until we get stake() working properly again. 2018-09-06 20:56:17 +02:00
jMyles 6cc7194f95 Undoing some of @kprasch's partial pasting practice. 2018-09-06 20:56:16 +02:00