Commit Graph

2851 Commits (eef389e5918dc7564eab4dd33d6b1719fde2803d)

Author SHA1 Message Date
tuxxy 398d854f7f Add revocation integration test (thanks @cyngusv) to test_bob_joins_policy_and_retreives 2018-11-30 13:18:13 -07:00
tuxxy fec5935fd0 Add typehint for the revoke method 2018-11-29 13:51:00 -07:00
tuxxy 01336137a1 Add Revocation docstring 2018-11-29 13:47:18 -07:00
David Núñez c71f1d5ecb Decrypts message kits associated to a public key with label 2018-11-29 16:16:21 +01:00
David Núñez 9c7849be4a Character.decrypt() accepts a label when the EncryptingPower is derived 2018-11-29 16:16:05 +01:00
David Núñez 1cef449ae4 DelegatingPower can create new EncryptingPowers based on labels 2018-11-29 16:14:45 +01:00
David Núñez bad8d9062b Delegator's verifying key should already be as correctness key in the capsule 2018-11-29 16:14:34 +01:00
David Núñez 92ce6321fa Test Alice can decrypt . It fails. (yikes!) 2018-11-29 16:14:18 +01:00
tuxxy ce05b9706d Add logging when revoking 2018-11-28 16:46:29 -07:00
Tux 17c2a5749d
Merge pull request #575 from KPrasch/freeze
Dependency version freeze; Pipenv lock, legacy pip requirements.
2018-11-28 15:01:25 -07:00
David Núñez 92dc863f0e
Pin Umbral 0.1.1.a3
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-11-28 10:40:17 -08:00
Kieran Prasch e81500ef77
Dependency version freeze; Pipenv lock, legacy pip requirements. 2018-11-27 15:58:19 -08:00
tuxxy 0c474883f0 Make failed_revocations a dict with node_id as key 2018-11-26 12:13:32 -07:00
tuxxy 78358767c3 Cleanup middleware logic 2018-11-21 12:41:50 -07:00
tuxxy a2c9a55a73 Change add_receipt -> add_confirmation 2018-11-21 12:10:45 -07:00
tuxxy da7ca8d13e Move Revocation to its own class 2018-11-21 12:07:13 -07:00
K Prasch 17839b93f5
Merge pull request #559 from jMyles/learning-loop
State tracking across network
2018-11-19 19:22:10 -08:00
K Prasch 9c85f54466
Merge pull request #561 from KPrasch/timber
--debug flag and file logging observer
2018-11-19 19:21:28 -08:00
jMyles 7738ca4ab7 I got nothin'. Let's just pretend this never happened. 2018-11-19 19:02:14 -08:00
tuxxy db96bb13c0 Return a tuple of (Revocaton, None) when revoke_arrangement returns 404 2018-11-19 16:44:38 -07:00
tuxxy a12c9b1134 Use DELETE method for RESTful call to revoke_arrangement 2018-11-19 16:44:38 -07:00
tuxxy c130df05f3 Add test_revocation 2018-11-19 16:44:38 -07:00
tuxxy 0ddfa230de Refactor to use new RevocationKit 2018-11-19 16:44:38 -07:00
tuxxy 88054ecc8f Remove RevocationNotice and refactor RevocationKit to use a namedtuple for revocations 2018-11-19 16:44:38 -07:00
tuxxy 57db0e8639 Test alice_can_grant_and_revoke and add revoke_arrangement to MockRestMiddleware 2018-11-19 16:44:38 -07:00
tuxxy 8a55832bc7 Fill in revoke method on characters.lawful.Alice 2018-11-19 16:44:38 -07:00
tuxxy dfbbc2b9c0 Add revoke_arrangement to RestMiddleware 2018-11-19 16:44:38 -07:00
tuxxy 0a70345777 Add revoke_policy endpoint to network.server 2018-11-19 16:44:38 -07:00
Tux 27438d80cd
Merge pull request #565 from cygnusv/pinipon
Refactor node storages backend tests; Accomodate pytest>4
2018-11-19 16:42:26 -07:00
Kieran Prasch 704f41a744 Refactor node storages backend tests; Accomodate pytest>4 2018-11-19 23:53:44 +01:00
K Prasch 210168298c Merge pull request #564 from cygnusv/pinipon
Pin umbral==0.1.1a3 before new API-breaking release
2018-11-19 14:13:07 -08:00
David Núñez fe22af19fd Pin umbral==0.1.1a3 before new API-breaking release 2018-11-19 22:10:29 +01:00
Evalovelac3 f44f18a306
Merge pull request #556 from EvaLovlac3/openssl_err
capture openssl internal error for scyrpt
2018-11-19 09:25:00 -07:00
Kieran Prasch 844c2a4674 Refactor node storages backend tests; Accomodate pytest>4 2018-11-16 14:26:31 -08:00
jMyles 72c2b47222 Let's allow FleetStateTracker to be checked for addresses, not just VerifiableNodes. 2018-11-16 14:16:55 -08:00
jMyles fea6b6a258 Tests now reflect state changes. 2018-11-16 10:26:29 -08:00
jMyles 9f842473bb Putting new state metadata on template. 2018-11-16 10:26:29 -08:00
jMyles f25679523d Track states of teacher nodes. 2018-11-16 10:24:26 -08:00
jMyles 117c70eb26 FleetState is now FleetStateTracker; FleetState is a smaller idea communicated by a NamedTuple. We now track previous states. 2018-11-16 10:24:26 -08:00
jMyles 458b999ddd Moved away from treating known_nodes as a dict throughout. 2018-11-16 10:24:26 -08:00
jMyles fba0d2a99d Sometimes you just want the addresses in the fleet. 2018-11-16 10:24:26 -08:00
jMyles 7caee0dc91 Gonna need __len__ and __eq__ for state. 2018-11-16 10:24:26 -08:00
jMyles 71bbc2772c Nodes can directly iterate and introspect known_nodes now. 2018-11-16 10:24:26 -08:00
jMyles 7525cfa8a8 Filling out the dunders on FleetState. 2018-11-16 10:24:26 -08:00
jMyles 78aeee44c5 Actually, we can just go straight to learning from the teacher now. Fixes #557. 2018-11-16 10:24:26 -08:00
jMyles 852816e7ec Moved more logic into FleetState. 2018-11-16 10:24:26 -08:00
jMyles 9cc486d30a Touchups for status page. 2018-11-16 10:24:26 -08:00
jMyles 31f66cf071 Past fleet state as a param during learning; only learn if there's a difference. 2018-11-16 10:22:59 -08:00
jMyles 1635f00626 Providing snapshot as bytes, and splitter to reconcile it on the other end. 2018-11-16 10:22:59 -08:00
jMyles d03d5c6194 Grabbing snapshot from bytes representation and applying it to teacher. 2018-11-16 10:22:59 -08:00