Commit Graph

560 Commits (c0920b709dcf7a2673c5bcb3150b73478401eeb7)

Author SHA1 Message Date
Justin Holmes 37e8f50431
Merge pull request #115 from jMyles/signature
Signature tests pass.
2017-11-10 16:41:05 -08:00
tuxxy b1c27c18b8
Implement keystore kFrag methods add/del/get 2017-11-10 16:34:50 -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
tuxxy 215b28e113 Return Signature object from SigningPower.sign 2017-11-10 16:18:18 -08:00
Justin Holmes ccd7cadd33
Merge pull request #110 from jMyles/policy
Complete TreasureMap and Interface sharing on the DHT, with stop-propagation of illegal DHT keys.
2017-11-10 16:14:17 -08:00
jMyles 1ca86f5b71 ttl is now an attr instead of a method. 2017-11-10 15:55:54 -08:00
jMyles 48174e722e Implemented HRAC; pruned some other legacy code. 2017-11-10 15:34:52 -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 4d1d899a04 Wanting to use @tuxxy's Signature class a little early. :-) 2017-11-10 00:11:45 -08:00
tuxxy 93de923ae0
Fix capitalization in KeyFrag model 2017-11-09 17:26:07 -08:00
tuxxy a32907e38a
Add KeyFrag db model 2017-11-09 17:03:01 -08:00
jMyles f88c182bd9 Test showing stop-propagation for illegal TreasureMap ID - see #109. 2017-11-09 16:23:38 -08:00
jMyles b312449895 Tests rewritten in narrative order with docstrings. 2017-11-09 16:23:38 -08:00
jMyles 6a5d0da4bf Test organization: moved utility functions to their own module. 2017-11-09 16:23:38 -08:00
tuxxy 427333d6b9
Implement the Signature class 2017-11-09 14:06:43 -08:00
tuxxy c403813411
Add Signature placeholder class 2017-11-09 13:23:23 -08:00
Justin Holmes ecc7d436c4
Merge pull request #107 from jMyles/policy
Bob can now follow treasure map and get Ursula instances.
2017-11-07 14:52:53 -08:00
jMyles 19aab328d0 Bob can now follow treasure map and get Ursula instances. 2017-11-07 14:25:03 -08:00
jMyles ce4dc0c936 Merge remote-tracking branch 'tux/reconstruct_key' into policy 2017-11-07 14:18:06 -08:00
tuxxy 1b7725023d
Add test for serializing and deserialzing key 2017-11-07 14:13:45 -08:00
tuxxy 363dc0a402
Call deserialize_key in Keystore.get_key
Fix some errors
2017-11-07 14:10:03 -08:00
tuxxy 32b812e6aa
Add deserialize_key staticmethod to Keypair 2017-11-07 14:05:54 -08:00
jMyles f704f93cbe KeyPairBasedPower to reuse logic for powers based on keypairs. 2017-11-07 12:51:30 -08:00
Justin Holmes cab5b642a6
Merge pull request #103 from jMyles/policy
TreasureMap now contains real Ursula interface IDs.
2017-11-06 21:27:55 -08:00
jMyles 10f3fc8e6c TreasureMap now contains real Ursula information. Fixes #59. Fixes #64. 2017-11-06 20:42:21 -08:00
jMyles 4c8d925b8a TreasureMap legitimacy test. 2017-11-06 18:11:03 -08:00
Justin Holmes 2155f09fae
Merge pull request #102 from jMyles/policy
Ursula now saves interface info in her own DHT instance.
2017-11-06 18:10:39 -08:00
jMyles 2581c579e3 Fixes #98. 2017-11-06 13:44:59 -08:00
jMyles 93a70179a8 Test for #98 2017-11-06 13:35:54 -08:00
Justin Holmes 3051cb8dbc
Merge pull request #101 from jMyles/policy
Ursula now refuses to propagate illegal interface keys.
2017-11-06 12:42:05 -08:00
jMyles 4e88b0465a npre got caught up in pipfile change - this is actually what we want. 2017-11-05 20:41:13 -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 2d321f230d Verify method described in #99. 2017-11-05 19:30:03 -08:00
Justin Holmes a10bdccc12
Merge pull request #97 from tuxxy/fingerprint
Make get_fingerprint an instance method
2017-11-04 17:18:14 -07:00
Justin Holmes 796e7e622f
Merge pull request #96 from jMyles/master
A sanity check for the len31 bug.
2017-11-04 17:03:44 -07:00
Justin Holmes 981bf29e4c
Merge pull request #89 from jMyles/tls
Ursula now stores interface on DHT.
2017-11-04 17:03:28 -07:00
jMyles 78aa5d4063 A sanity check for the len31 bug. 2017-11-04 10:52:43 -07:00
tuxxy a44117931d Make get_fingerprint an instance method 2017-11-03 20:20:09 -06: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 41b6642b6d Msgpacking encrypted message. 2017-11-03 18:37:27 -07:00
jMyles 5b570b046e Very close to complete Ursula -=> Bob flow for treasure map, but strange error when trying to run coroutine. 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 991a2279d5 Uses de/serialization from umbral. 2017-11-03 18:37:27 -07:00