Commit Graph

42 Commits (ba2200487f5c9d450707b985927712560f1851eb)

Author SHA1 Message Date
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
Michael Egorov fe6faa0a13 Dummy client to use DB instead of dict 2017-09-05 16:56:29 -07:00
Michael Egorov 7f03612611 Msgpack to pack any objects in db 2017-09-05 16:53:18 -07:00
Michael Egorov 1b84c53da0 No need for public key 2017-09-05 15:42:55 -07:00
jMyles c97e1290da Updated to reflect solution that we arrived at for PR 32 on kademlia. Also includes a test. 2017-09-01 17:15:50 -07:00
jMyles 8f509533c5 First implementation of customized Server and Protocol classes for DHT. Pending PR 32 on kademlia. 2017-08-30 22:13:18 -07:00
Michael Egorov ddd91d1ea2 Dummy client for tests 2017-08-20 10:43:29 -07:00
Michael Egorov bcb849416c Dummy network client filled in 2017-08-19 23:00:57 -07:00
Michael Egorov e35ce6d366 Dummy client: close 2017-08-19 09:10:17 -07:00
Michael Egorov ef9e80ecf9 Documentation of the reencryption interface in docstrings 2017-08-18 22:43:06 -07:00