Commit Graph

59 Commits (b2d321416271804d00b76d8cc44870d8e77697ce)

Author SHA1 Message Date
jMyles 63d1e731c9 Ursula's ID is now just her Public Signing Key. 2018-02-28 17:37:26 -08:00
jMyles 6aa0cb46d2 TreasureMaps are now attainble via the REST interface. 2018-02-28 17:33:58 -08:00
jMyles edad1d7148 dict interface for from_public_keys. 2018-02-28 17:33:53 -08:00
jMyles 6fa7bd5823 Ursula's datastore now runs in a separate thread in all cases. 2018-02-28 17:32:19 -08:00
jMyles 3c00927e65 Moving Ursula's datastore access to a Threadpool. 2018-02-28 17:32:19 -08:00
jMyles f9833f7d0d Moved Ursula's REST bits to a new class. 2018-02-24 02:08:17 -08:00
jMyles 5900e4c2ed Better legality check (casting to bytes instead of letting kademlia cast to str) 2018-02-18 17:34:08 -08:00
jMyles fd4accf3f5 Header lengths and types implemented in network. 2018-02-15 12:31:16 -08:00
jMyles e7eeee937c header length constant. 2018-02-15 12:31:00 -08:00
jMyles 023d9705f0 Shortening headers to two bytes, and deprecating lstrip as a way to eat headers. See #111. Fixes #164. 2018-02-14 23:45:23 -08:00
jMyles 8f6c4b4a2f Capsule instead of PFrag. Feels so good. 2018-02-13 15:44:47 -08:00
jMyles c62e39917a CFrag splitter. 2018-02-13 15:43:38 -08:00
jMyles f600f7f183 Formatting and style. 2018-02-11 01:05:58 -08:00
jMyles 570f169038 Splitter with kwargs. 2018-02-11 01:05:36 -08:00
jMyles 94fb768914 I had stashed some of Tux's work when I merged; adding that back in. 2018-02-11 01:04:50 -08:00
jMyles 044c636a77 New hash digest length for dht bytestring splitter. 2018-02-10 19:24:27 -08:00
jMyles acc31b7757 Using UmbralPrivate key for splitting in protocols. 2018-02-09 20:38:10 -08:00
jMyles 0d964ca080 Removing various imports of the ole' fragments module. 2018-02-07 02:16:44 -08:00
tuxxy da70c11b06 Delete old code that will be replaced with pyUmbral 2018-02-06 22:07:08 -07:00
jMyles 5638af4e9e Eh, this exception has lived in the wrong place its whole life. 2017-12-14 11:39:38 -08:00
jMyles f8d67c83d6 BaseClass for NetworkyStuff will just return NotImplemented when asked to find a competitive rate. 2017-12-11 14:44:32 -08:00
jMyles 537a782100 Pushing reencrypt logic down into actual NetworkyStuff instead of just the mock. Makes me psyched! 2017-12-07 20:37:08 -08:00
jMyles 16be6e3b97 Another variable type hint removal. 2017-11-22 09:27:58 -08:00
jMyles 08644afc5d Type hint for list in blockchain_client. 2017-11-21 22:13:11 -08:00
jMyles 2f0b483ba3 Not using msgpack for protocols anymore! All concat and split now. 2017-11-21 20:21:02 -08:00
jMyles 29d4089da1 Just a fake list for now as a blockchain client. 2017-11-21 20:20:38 -08:00
jMyles 5a36280788 Ridculous try block no longer needed. 2017-11-18 13:16:41 -08:00
jMyles bcb8849533 Use PublicKey for splitter. 2017-11-18 13:16:26 -08:00
jMyles ec8c225f7d Moved BytestringSplitter remainder logic to __call__; implemented throughout. 2017-11-11 18:00:32 -08:00
jMyles 49015c4682 dht_value_splitter for reuse. 2017-11-11 17:43:33 -08:00
jMyles ee3170de32 Imlement HRAC in protocols. 2017-11-11 17:43:06 -08:00
jMyles 7e43f3caad More thorough implementation of Signature throughout. 2017-11-10 23:36:21 -08:00
jMyles e0f9995e4c Casting Signature to bytes for msgpack. Better to concat it in the future - see #114. 2017-11-10 16:29:28 -08:00
jMyles 49f99fc640 Added Bob's public key to secret part of TreasureMap DHT key. Also lots of sanding / code simplification. 2017-11-10 10:47:07 -08:00
jMyles b66eccb251 Working stop-propagation for both Ursula interfaces and TreasureMaps. 2017-11-10 02:04:01 -08:00
jMyles 10f3fc8e6c TreasureMap now contains real Ursula information. Fixes #59. Fixes #64. 2017-11-06 20:42:21 -08:00
jMyles 2581c579e3 Fixes #98. 2017-11-06 13:44:59 -08:00
jMyles ae7683478b Moved verify to utils; implemented it in Character.verify_from. Awesome cleanup. Fixes #99. 2017-11-05 20:30:34 -08:00
jMyles c85acc3675 A test to show that Ursula now refuses to propagate illegal keys. 2017-11-05 19:30:03 -08:00
jMyles d49eb130af Ursula now sets interface info using public key, providing signed interface info. Other Ursulas refuse to propagate unless this info is correct. 2017-11-05 19:30:03 -08:00
jMyles 745e5a43b4 Beginning of verifying Ursula's interface. 2017-11-05 19:30:03 -08:00
jMyles 4dc146b2d6 Rudimentary server and client w/ cert generation and TLS. 2017-11-05 19:30:03 -08:00
jMyles bd599a8b67 First semblance of Twisted TLS upgrade. 2017-11-05 19:30:03 -08:00
jMyles d2b0e364e1 Ursula now reports IP via K:V store. Hacky workaround for #95. 2017-11-03 18:37:27 -07:00
jMyles eb2382e763 Pursuant to #93, changes to K:V for Alie to lookup Ursula. This commit demonstrates one of the problems described in #95. 2017-11-03 18:37:27 -07:00
jMyles 83058d0211 Fairly reasonable shape for Bob-=>Ursula discovery/upgrade. 2017-11-03 18:37:27 -07:00
jMyles b6ba561de7 bootstrap now creates a NuCypher node. 2017-09-13 13:35:22 -07:00
jMyles 83d6724f61 Nodes now share a Capability framework for determining how to interact. This includes the ability for a Node to announce itself as seed-only. Fixed #22. 2017-09-13 13:34:40 -07:00
jMyles a032a4ab05 Logic for a node to alert another node that it is seed-only. 2017-09-13 13:34:40 -07:00
jMyles ab6cbaead6 Seed-only Server now (at least seems) to actually refuse to store data. Fixes #23. 2017-09-13 13:34:40 -07:00