Commit Graph

5893 Commits (0184ef91610d5a53b03b2ad2e1083bdd61deafd9)

Author SHA1 Message Date
vzotova e010b70693 Apply suggestions from code review #1672
Co-Authored-By: David Núñez <david@nucypher.com>
2020-02-13 13:21:42 +03:00
K Prasch b63346716e
Merge pull request #1673 from wjdfx/master
Update staking_guide.rst
2020-02-12 11:02:53 -08:00
wjdfx 4f29224cb4
Update staking_guide.rst 2020-02-12 20:03:39 +08:00
vzotova 9aa49f57f0 Ignoring broken state in `PolicyManager.rewardState` with possibility to fix it later 2020-02-11 21:48:16 +03:00
vzotova b7098590e6 Reproduce scenario from #1671 2020-02-11 19:15:12 +03:00
vzotova c17653b535 Restrict checks in `PolicyManager.register()` and `PolicyManager.createPolicy()` to prevent inconsistent state 2020-02-11 17:17:35 +03:00
damon c d389e075e3
Merge pull request #1330 from nucypher/birdcage
[EPIC] Birdcage: A PR for people who want to pretend to like Bob.
2020-02-10 15:34:46 -08:00
Kieran R. Prasch e6b6ee8bd8 Respond to RFCs in PR #1330 2020-02-10 14:01:35 -08:00
David Núñez 4b24fecba0 Randomize order of generated WorkOrders (Fixes #245) 2020-02-10 14:01:28 -08:00
jMyles 90a3c26298 Finishing the layup for which @michwill set me up vis a vis TreasureMaps being passed through Bob's controller. 2020-02-10 13:09:15 -08:00
jMyles 4f8e266bf6 Use live message kit in spec test for forward compatibility. 2020-02-10 13:09:15 -08:00
jMyles be1809ef0b Update for new retrieve parameters. 2020-02-10 13:09:15 -08:00
jMyles f164382164 Use live TreasureMap in spec test for forward compatibility. 2020-02-10 13:09:15 -08:00
jMyles 40f329db1b Now that we're resetting the side channel in a fixture, each tests starts with the first message. 2020-02-10 13:09:15 -08:00
jMyles 6b6e07ec46 An empty or intentionally misleading TreasureMap warrants a more severe Exception than NotEnoughUrsulas: introducing TreasureMap.IsDisorienting 2020-02-10 13:09:15 -08:00
jMyles c33cce3972 Correcting orient() to deal with misleading TreasureMaps. 2020-02-10 13:09:15 -08:00
jMyles 9bb7ed91f3 TreasureMap can evaluate to False if its m value is 0 (obviously a bizzare state, but not impossible in our current logic). 2020-02-10 13:09:15 -08:00
jMyles fb2f03e307 Resetting side channel bewteen fixture runs so that message is unchanged. 2020-02-10 13:09:15 -08:00
jMyles 76e83cda50 Reducing scope of fixture. See: https://ptb.discordapp.com/channels/411401661714792449/411401661714792451/667904759956504577 2020-02-10 13:09:15 -08:00
jMyles 6490af67c8 Touch-ups around failing tests. 2020-02-10 13:09:15 -08:00
jMyles a7b9defb08 Casting and decoding str variant of TreasureMap in interface. All other changes are just code org. 2020-02-10 13:09:15 -08:00
jMyles 3ce055561d Test compatibility for unpacking message kits. 2020-02-10 13:09:15 -08:00
jMyles 498587dc9c Doing JIT verification now. 2020-02-10 13:09:15 -08:00
tuxxy 96aab3701f Add JSON serialization methods to 'PolicyCredential' 2020-02-10 13:09:15 -08:00
tuxxy 32a95ffd71 Add 'credential' method on 'Policy' w/ consistency tests 2020-02-10 13:09:15 -08:00
K Prasch 5f1e05616f
Merge pull request #1625 from KPrasch/mesa
CLI Tabulation and Staker UI
2020-02-10 12:42:29 -08:00
Kieran R. Prasch ec305be321 Respond to RFCs in PR #1625; Use '═' not '='. 2020-02-10 11:16:33 -08:00
Kieran R. Prasch 663a7b2b3c Example demonstrating a cli for encrypting directories with NuCypher. 2020-02-08 04:27:35 -08:00
Kieran R. Prasch 9296d1db83 Forging a new example: encrypt a directory for a single policy and label. 2020-02-08 04:27:35 -08:00
Michael Egorov 4f47680d3b Relock dependencies. Remove XXX comment and install_egg_info. 2020-02-08 04:27:34 -08:00
Michael Egorov 16ad56c934 Fix merge conflicts 2020-02-08 04:27:34 -08:00
Michael Egorov 499ca64b14 Type hints for TreasureMap 2020-02-08 04:27:34 -08:00
Michael Egorov 99681680d6 Check text returned by federated_bob.retrieve 2020-02-08 04:27:34 -08:00
Michael Egorov 0bb8d74636 Treasure map passed in controllers 2020-02-08 04:27:34 -08:00
Michael Egorov c920cf44a5 Test treasure_map in character control 2020-02-08 04:27:34 -08:00
Michael Egorov c70e8e2216 Bob.retrieve() accepting an optional treasure map works 2020-02-08 04:27:34 -08:00
Michael Egorov f5c85e9c72 Test if Bob can decrypt with the treasure map (he can't yet) 2020-02-08 04:27:34 -08:00
Michael Egorov ff9375f6c6 Optional treasure map in Bob.retrieve 2020-02-08 04:27:34 -08:00
Michael Egorov e2c54e09a7 Make PEP8 happy 2020-02-08 04:27:34 -08:00
jMyles 20d92120ff Simplifying MessageKit splitter with new BSS spice. 2020-02-08 04:27:34 -08:00
jMyles fe840cfd13 Test showing multiple messages from multiple Enricos in a single Adventure. 2020-02-08 04:27:34 -08:00
jMyles d187bbe325 Kwargifiying the splitter for PolicyMessageKit. 2020-02-08 04:27:34 -08:00
jMyles 5a67030054 Making policy_pubkey (awful name) optional for Enrico). 2020-02-08 04:27:34 -08:00
jMyles fdc03954e9 Allow retrieve() to take a policy_encrypting_key on the fly and then reconstruct an Enrico from whole cloth. Not performance optimized, but simple. 2020-02-08 04:27:34 -08:00
jMyles 04a96b54a2 Test showing failure of multiple-Capsule retrieval - see #1359. 2020-02-08 04:27:34 -08:00
jMyles 50e58f44f6 Shortcuts to bring all nodes up or down for testing. 2020-02-08 04:27:34 -08:00
jMyles a7bcdd59c0 Including all Capsules in WorkOrder receipt, instead of only last. See #1359. 2020-02-08 04:27:34 -08:00
jMyles f87eb322f9 Pausing console logging instead of stopping and starting. 2020-02-08 04:27:34 -08:00
jMyles e73e1e5765 Temporarily ceasing console logging right before click invocation. 2020-02-08 04:27:34 -08:00
jMyles bd679888d9 Adding logging around consecutive retrieval test. 2020-02-08 04:27:34 -08:00