jMyles
|
847a0e0e99
|
Policy now takes multiple kFrags and a URI as arguments.
|
2017-12-14 11:22:00 -08:00 |
jMyles
|
f5a0db8603
|
Moving craft_offer to Policy.
|
2017-12-14 11:21:37 -08:00 |
jMyles
|
7f7139e24f
|
Moving 'n' to Policy.
|
2017-12-14 11:21:16 -08:00 |
jMyles
|
8435ddccdf
|
Alice now makes a Policy instead of a PolicyGroup.
|
2017-12-14 11:20:57 -08:00 |
jMyles
|
899049c3d7
|
Moved pFrag down to Policy; pFrag stand-in for PolicyGroup.
|
2017-12-14 10:49:15 -08:00 |
jMyles
|
fcc3636934
|
Found a pFrag that escaped refactor.
|
2017-12-13 20:09:34 -08:00 |
jMyles
|
ac10e6a3da
|
Merge commit for various Policy and testing Work after PRs are merged.
|
2017-12-13 10:41:55 -08:00 |
jMyles
|
21c18ea5f8
|
Tests reflect publish_treasure_map living on PolicyGroup.
|
2017-12-13 10:33:34 -08:00 |
jMyles
|
e891653fde
|
With PolicyGroup logic simplified for Bob, we can reduce the scope of several fixtures.
|
2017-12-13 10:33:01 -08:00 |
jMyles
|
267647a07b
|
Don't need TreasureMap setter anymore.
|
2017-12-13 10:32:44 -08:00 |
jMyles
|
ff19d7f276
|
Payload has always incorrectly used the encrypted TreasureMap instead of ChallengePack - we didn't notice because we aren't doing challenges yet.
|
2017-12-13 10:32:10 -08:00 |
jMyles
|
38e692a526
|
Making it easier to get an hrac from outside PolicyGroup.
|
2017-12-13 10:31:31 -08:00 |
jMyles
|
6554df9c03
|
hash convenience method can just be static.
|
2017-12-13 10:31:15 -08:00 |
jMyles
|
9541aa8519
|
Bob can reconstitute a PolicyGroup before he has the PFrag; nothing wrong with that.
|
2017-12-13 10:30:47 -08:00 |
jMyles
|
af969c3ff7
|
Bob now gets a TreasureMap from just an Alice and URI (not a PolicyGroup).
|
2017-12-13 10:30:08 -08:00 |
jMyles
|
44438e6a50
|
Moving publish_treasure_map down to PolicyGroup.
|
2017-12-13 10:29:21 -08:00 |
Justin Holmes
|
aeed9e52f3
|
Merge pull request #144 from jMyles/policy
Bob no longer needs to store a PolicyGroup to generate WorkOrders.
|
2017-12-12 13:03:28 -08:00 |
Justin Holmes
|
e7065eb88d
|
Merge pull request #143 from jMyles/character-crypto
grant - convenience method for creating and enacting a policy_group by Alice.
|
2017-12-12 10:39:45 -08:00 |
jMyles
|
3a1bab4b1d
|
Fixed up tests to use hrac instead of PolicyGroup.
|
2017-12-11 17:03:47 -08:00 |
jMyles
|
451095326f
|
Adding __len__ for TreausureMap (kinda surprised we got by without it until now).
|
2017-12-11 17:03:07 -08:00 |
jMyles
|
df013d6a00
|
More replacements of PolicyGroup for the simple hrac.
|
2017-12-11 17:02:45 -08:00 |
jMyles
|
cbae3d666e
|
Lookup TreasureMap with provided hrac. It's a good idea to test this, but it's untested as yet.
|
2017-12-11 17:00:36 -08:00 |
jMyles
|
673620e721
|
Bob doesn't need a PolicyGroup to generate work orders; an hrac will do.
|
2017-12-11 16:58:40 -08:00 |
jMyles
|
588ee82d8e
|
Store TreasureMap when finding from DHT.
|
2017-12-11 16:56:00 -08:00 |
jMyles
|
57b4450d59
|
Look in own TreasureMaps when following.
|
2017-12-11 16:55:35 -08:00 |
jMyles
|
a5fbc5c38d
|
Bob will store TreasureMaps now.
|
2017-12-11 16:55:00 -08:00 |
jMyles
|
f8d67c83d6
|
BaseClass for NetworkyStuff will just return NotImplemented when asked to find a competitive rate.
|
2017-12-11 14:44:32 -08:00 |
jMyles
|
74f51e77f3
|
New deposit logic for grant: Alice can supply a deposit, look at her default deposit, or, if implemented in her network client, find a competitive rate.
|
2017-12-11 14:43:51 -08:00 |
jMyles
|
a5579f1af7
|
grant test
|
2017-12-09 17:21:43 -08:00 |
jMyles
|
1a6650f3e9
|
convenience method for crafting an offer from a PolicyGroup
|
2017-12-09 17:21:25 -08:00 |
jMyles
|
0cf82a4a0c
|
grant method.
|
2017-12-09 17:21:08 -08:00 |
jMyles
|
fd38b2421e
|
Alice gets a PolicyManager at __init__.
|
2017-12-09 17:19:30 -08:00 |
Justin Holmes
|
7312810804
|
Merge pull request #142 from jMyles/todo
Closed a few TODOs, opened some others, added some tests for some already closed.
|
2017-12-08 14:09:29 -08:00 |
jMyles
|
c2a111c2b5
|
Tests showing that Bob doesn't repeat WorkOrders for CFrags he already has.
|
2017-12-07 20:41:48 -08:00 |
jMyles
|
699ec37f03
|
TreasureMap setting fixture implemented in a few tests.
|
2017-12-07 20:41:26 -08:00 |
jMyles
|
fc66f43b3b
|
Pushing TreasureMap setting down into a fixture.
|
2017-12-07 20:41:04 -08:00 |
jMyles
|
f5ef7c6eaf
|
Sketch of marking a WorkOrder complete.
|
2017-12-07 20:40:21 -08:00 |
jMyles
|
8c243ed399
|
A WorkOrder is only as long as its PFrags.
|
2017-12-07 20:38:51 -08:00 |
jMyles
|
537a782100
|
Pushing reencrypt logic down into actual NetworkyStuff instead of just the mock. Makes me psyched!
|
2017-12-07 20:37:08 -08:00 |
jMyles
|
748aea9746
|
Added TODO showing where Ursula needs to sign response - See #141.
|
2017-12-07 20:36:36 -08:00 |
jMyles
|
ad0a2a59cf
|
Check that Ursula sent back the proper number of CFrags.
|
2017-12-07 20:36:09 -08:00 |
jMyles
|
2b1ca0d0d9
|
New concept for saving WorkOrders by Bob.
|
2017-12-07 20:35:38 -08:00 |
jMyles
|
fb5731fff4
|
Bob has a lot of logic surrounding his play with Frags - moving such tests to their own module.
|
2017-12-07 00:36:43 -08:00 |
jMyles
|
647e0e4fd7
|
Bob can now lookup past work orders by PFrag since #137 is closed.
|
2017-12-07 00:36:35 -08:00 |
Justin Holmes
|
761553b26b
|
Merge pull request #133 from jMyles/apistar
REST relationship for Bob and Ursula, with complete PRE using all three Fragment classes.
|
2017-12-07 00:34:26 -08:00 |
jMyles
|
4de6ff736a
|
More mock network logic for testing.
|
2017-12-05 12:54:59 -08:00 |
jMyles
|
674197d30b
|
Test for complete discovery and reencryption via REST.
|
2017-12-05 12:54:44 -08:00 |
jMyles
|
1f923aaeab
|
That thing in a PolicyGroup isn't an EncryptedKey; it's a PFrag.
|
2017-12-05 12:54:19 -08:00 |
jMyles
|
2d4a57f463
|
RepeatingBytestringSplitter - to get any number of CFrags from the HTTP response.
|
2017-12-05 12:53:39 -08:00 |
jMyles
|
295e4c6e9b
|
Overhaul of CFrag class; adding more robust protections.
|
2017-12-05 12:53:18 -08:00 |