Commit Graph

2436 Commits (69515ff97af3e25699907b5a5aa1859bf54ccdca)

Author SHA1 Message Date
David Núñez 69515ff97a Fix missing steps for test federated Bob.retrieves() 2018-10-29 12:40:34 +01:00
David Núñez 812a2b0c91 Test for Bob.join_policy() in a separate test module. Fixes #233 2018-10-29 12:10:00 +01:00
David Núñez 310e2f3a55 Move certificates_temdir fixture to fixtures module 2018-10-29 01:52:01 +01:00
David Núñez 7f6b791d0d Umbral release already has KFrag.__repr___ 2018-10-29 01:52:01 +01:00
David Núñez e13ef06787 Some pending renamings (uri -> label, signing_key -> verifying_key) 2018-10-29 01:51:56 +01:00
David Núñez 1819f9b1af Fixture for Data source must include the label 2018-10-28 20:08:59 +01:00
David Núñez dddd76e023 High-level test of Bob.retrieves() 2018-10-28 20:05:19 +01:00
Tux 401cf6aa2f
Merge pull request #498 from jMyles/network
Nicknames
2018-10-28 00:36:31 +02:00
Tux 29cd775b9c
Merge pull request #494 from jMyles/character-crypto
Ursula now signs CFrags before sending response back to Bob.
2018-10-28 00:35:23 +02:00
Tux 13b564c53c
Merge pull request #493 from jMyles/seed-node-learning
Seed node learning
2018-10-28 00:34:22 +02:00
jMyles 449d73ff64 Changed nickname order and roughly doubled space. 2018-10-28 00:07:09 +02:00
jMyles efafddd37c If federated characters have no SigningPower, they also can't have a nickname. 2018-10-27 23:28:03 +02:00
jMyles 416b5d206d Learners get nicknames; Characters are repr'd by them. 2018-10-27 23:28:03 +02:00
jMyles 0ab2a67299 Logic for applying nicknames based on a seed (eg, checksum address) 2018-10-27 23:28:03 +02:00
jMyles f5283cc622 Moved InvalidSIgnature to crypto.signing; other classes import from there. 2018-10-27 23:27:35 +02:00
jMyles 7bf4b0629d Ursula now signs cfrag and capsule. 2018-10-27 23:27:35 +02:00
jMyles ab9beea3d2 Moving Capsule<=-=>CFrag count to complete(). 2018-10-27 23:27:35 +02:00
David Núñez ef21977cb6 Update tests/characters/test_bob_handles_frags.py
Co-Authored-By: jMyles <justin@justinholmes.com>
2018-10-27 23:27:35 +02:00
jMyles 59ff623949 Ursulas signs CFrags. Fixes #141. 2018-10-27 23:27:35 +02:00
jMyles 20bb613a47 Implementation of WorkOrder.complete() #141.4 2018-10-27 23:27:35 +02:00
jMyles dd2fe69629 Middleware now expects signed cfrags. See #141. 2018-10-27 23:27:35 +02:00
jMyles 6ee0c606f5 Fixing test race condition. 2018-10-27 23:26:33 +02:00
jMyles b1aef7fdb3 Changing remaining 'bootnode' references to 'seednode'. 2018-10-27 22:36:02 +02:00
jMyles 1d5b0dede5 Timeouts while acquiring a seed node cert are now handled down here. 2018-10-27 22:36:02 +02:00
jMyles 01457a8c9f Pushing the sleepy nodes block down into MiddleWare. 2018-10-27 22:36:02 +02:00
jMyles a71784a8c6 A real test showing the seed node giving its cert via hendrix. 2018-10-27 22:36:02 +02:00
jMyles 1343f07fff Initial cert acquisition needs checksum address and directory to save it. 2018-10-27 22:36:02 +02:00
jMyles b63d903942 Code and import cleanup. 2018-10-27 22:36:02 +02:00
jMyles 234c60b8d8 Seed learning now happens on learning thread. 2018-10-27 22:36:02 +02:00
jMyles 65a9f2a109 More seed learning cleanup. 2018-10-27 22:36:02 +02:00
jMyles 04611ef8c8 Moving learn_from_seednode up to real middleware. 2018-10-27 22:36:02 +02:00
jMyles db8b3a17dd Actually remember nodes when reading from storage. 2018-10-27 22:36:02 +02:00
jMyles 2eb27f3f68 Better test for node storage in learning loop. 2018-10-27 22:36:02 +02:00
jMyles 0ba7db7970 node storage commented out, lots of slow tests skipped, but things pass now. 2018-10-27 22:20:05 +02:00
jMyles eae0e12ed5 Initial test for firstula situation. 2018-10-27 22:20:05 +02:00
jMyles 1700c0a5f4 Middleware to do the learning and verifying seed nodes. 2018-10-27 22:20:05 +02:00
jMyles a81083848f Any VerifiableNode can be a seed node with the right method. 2018-10-27 22:20:05 +02:00
jMyles abdb2615f4 Use network middleware to get certificate via socket. 2018-10-27 22:20:05 +02:00
jMyles 7ef561ff2e Some cleanup and refactor. 2018-10-27 22:20:05 +02:00
jMyles 6144bca92f Moving logic from config to Ursula for seed node bootstrapping process. 2018-10-27 22:20:05 +02:00
jMyles 34f6c73b2e Seed nodes can now be passed separately to bootstrap learning loop. 2018-10-27 22:20:05 +02:00
Justin Holmes 4e3054a020
Merge pull request #484 from KPrasch/user-escrow
`UserEscrow` Agent & Deployer; Entity layer testing
2018-10-27 22:14:05 +02:00
Justin Holmes 7ef2270a17 Update nucypher/blockchain/eth/deployers.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-10-27 21:51:32 +02:00
Kieran R. Prasch eec736d340 Deprecate arming in favor of readiness checks; Generate a default DB name for Ursulas. 2018-10-27 21:51:32 +02:00
Kieran R. Prasch 36730843e9 Preallocation contract management; Move deployment readiness checks closer to deployment. 2018-10-27 21:51:32 +02:00
Kieran R. Prasch dafb181513 Tests UserEscrow Agency 2018-10-27 21:51:32 +02:00
Kieran R. Prasch c5c8a6f9cb (Almost) Completes UserEscrow Agency Methods 2018-10-27 21:51:32 +02:00
Kieran R. Prasch 46c0e96d81 Seed node discovery contract and tests 2018-10-27 21:51:32 +02:00
Kieran Prasch 4f2c8a8352 Let Deployer attach an allocation registry or deployer address to it's interface at startup. 2018-10-27 21:51:32 +02:00
Kieran Prasch 4c01385416 Tests deployment and agency components with layering in mind, (Includes UserEscrow) mirrors lower level tests with higher-level integration points 2018-10-27 21:51:28 +02:00