Commit Graph

1916 Commits (c9795064360195b1fd65e823be63dbfd3e486a5c)

Author SHA1 Message Date
Justin Holmes c979506436
Merge pull request #376 from jMyles/master
Small fixes to restore federated demo.
2018-08-09 18:20:39 -04:00
jMyles 820ddee838 Small fixes to restore federated demo. 2018-08-09 17:30:28 -04:00
Justin Holmes ecce0963da
Merge pull request #366 from jMyles/learning-loop
Learning Loop Part IV and Working n==3 Federated Demo.
2018-07-21 17:49:21 -07:00
jMyles 64a040d7ef Making public and private key separate arguments to keypair. 2018-07-20 19:05:04 -07:00
jMyles 188d301f61 Blockchain test compatibility in make_ursulas. 2018-07-19 20:19:24 -07:00
jMyles a8f50def25 RestMiddleWare now implements the method actually needed for Policy to go. (And hey, we don't really need SandboxMiddleware for federated demo anymore. [build] 2018-07-18 20:25:01 -07:00
jMyles 37fdbfe313 Logging during re-encryption. 2018-07-18 20:25:01 -07:00
jMyles 2ff260db03 Slightly tightened Character logic. Bad news from endpoint (ie, node is down) no longer causes learning to cease. 2018-07-18 20:25:01 -07:00
jMyles b551067603 Making a distinction between blocking until some number of nodes (any nodes) are learned and blocking until some specific set of nodes are learned. 2018-07-18 20:20:20 -07:00
jMyles 27fce61668 Updated Finnegan's Wake logic. 2018-07-18 20:20:20 -07:00
jMyles 3d3f6123e4 Learning loop has two speeds and changes to the slower speed after 10 rounds with no new learning. 2018-07-18 20:20:20 -07:00
jMyles 0f2d1dd2e5 Adding new ignorables to .gitignore. 2018-07-18 20:20:20 -07:00
jMyles a4664f7688 Updating mock middleware to work with node announcement. 2018-07-18 20:20:20 -07:00
jMyles 417884a791 Some cleanup for make_ursulas. Lots more to do. #347 2018-07-18 20:20:20 -07:00
jMyles 62a98a2b71 Test for Ursula announcing herself on launch. 2018-07-18 20:20:20 -07:00
jMyles 4022d009f5 Passing kwargs through Ursula (for example: to be able to set middleware) 2018-07-18 20:19:54 -07:00
jMyles 747736e461 VerifiableNodes now announce themselves when learning. 2018-07-18 20:19:22 -07:00
jMyles b06d5d62e0 join_policy no longer needs hrac. Also, lots of cleanup. [build] 2018-07-18 20:19:22 -07:00
jMyles 62ca18c3a8 Emitting a warning on bad learning instead of raising an error. 2018-07-18 20:17:15 -07:00
jMyles de303c5244 Introducting TLSHostingPower. Ursula no longer needs to handle the cert or private_key - instead, she just generates a deployer. 2018-07-18 20:17:15 -07:00
jMyles 0d6bd518db Using checksum address in known_nodes and TreasureMaps. 2018-07-18 20:17:15 -07:00
K Prasch aabee29c83
Merge pull request #369 from tuxxy/remove-wheelhouse
Remove Cryptography.io wheelhouse
2018-07-18 15:49:05 -07:00
tuxxy 0a1e62a86e Remove cryptography.io wheelhouse and update Pipfile 2018-07-18 13:42:17 -06:00
K Prasch 18cddabe4a
Merge pull request #352 from szotov/windows
Minor improvements for Windows compatibility
2018-07-18 09:13:07 -07:00
szotov d991ca7ba3 Minor improvements for Windows compatibility 2018-07-17 22:39:12 +03:00
Tux fa98957105
Merge pull request #360 from tuxxy/358-raise-error-fix
Raise InvalidSignature in verify_from
2018-07-17 13:37:21 -06:00
tuxxy 5727898452 Remove from and fix tests 2018-07-16 19:44:46 -06:00
tuxxy e313fb6c15 Check for InvalidSignature in network.server and characters when calling
verify_from
2018-07-16 19:44:44 -06:00
tuxxy 52abfb7e8b Raise InvalidSignature instead of returning is_valid 2018-07-16 19:38:35 -06:00
Tux 380298f449
Merge pull request #359 from jMyles/federated
Uniting Finnegan's Wake demo logic with current master.
2018-07-16 19:37:45 -06:00
Justin Holmes 25ded797fd
Merge pull request #356 from jMyles/policy
New Arrangement ID
2018-07-13 12:28:43 -07:00
jMyles a48fa83857 Curve object for new pyUmbral version. 2018-07-13 12:14:28 -07:00
jMyles a9752fa755 Federated demo up to date with the new stuff. 2018-07-13 12:14:16 -07:00
jMyles cb80379ff1 Bringing tests up to date with new semantics. 2018-07-13 12:12:28 -07:00
jMyles 07eb0fb43c We just rely on the bytes representation of a node now. 2018-07-13 12:11:54 -07:00
jMyles 0ca384c87e This test is irrelevant now that we test the learning loop directly. 2018-07-13 12:10:58 -07:00
jMyles 63135f008c We never split nodes without verification info anymore. 2018-07-13 12:09:41 -07:00
jMyles d43056e931 Wrapping asyncio event loop logic for off-thread case. Awful. We're stuck with this until we get off the DHT. 2018-07-13 12:09:06 -07:00
jMyles c1fd8a69bf Better polish on the signing parts of the node verification logic. 2018-07-13 11:58:56 -07:00
jMyles 2663e73bfb Function had improper case. 2018-07-13 11:51:03 -07:00
jMyles 665595a286 Always get both the hrac and the map_id. No reason to get only one. 2018-07-13 11:36:35 -07:00
jMyles d34191ba56 Follow and peek functions can now either take a map or map id. 2018-07-13 11:32:50 -07:00
jMyles f721d64d09 Finished fetching logic for Arrangements. Fixes #180. 2018-07-13 11:04:52 -07:00
jMyles 2ab472ae41 Using more eager mode for blocking TreasureMap following. 2018-07-13 11:04:52 -07:00
jMyles 80bb058a2b Iterating through a TreasureMap now produces both Arrangement.ID and node ID. Intersection logic changed a bit to reflect that. 2018-07-13 11:04:52 -07:00
jMyles 0e33174b41 Kicking up eagerness for same thread learning. 2018-07-13 11:04:52 -07:00
jMyles 2f8f087202 New Arrangement ID and new TreasureMap for the same. #180 nearly complete; need unpacking logic. 2018-07-13 11:04:52 -07:00
jMyles 74b4a7a743 REST endpoints reflect new Arrangement ID. 2018-07-13 11:04:52 -07:00
jMyles a2f15e8a47 Keystore update for new Arrangement ID. 2018-07-13 11:04:52 -07:00
jMyles 7231b27d55 Wrapping error in a more logical place. 2018-07-13 11:04:52 -07:00