jMyles
|
ad323ff4e2
|
Cleaned up TODOs, docstrings, and comments throughout the codebase.
|
2018-03-01 00:15:05 -08:00 |
jMyles
|
18058b2634
|
These three files are no longer useful.
|
2018-03-01 00:14:25 -08:00 |
jMyles
|
84f7c4a604
|
Removing npre from setup.py: it is no longer a thing.
|
2018-02-28 22:28:52 -08:00 |
jMyles
|
bed029c480
|
Removing imports that are no longer used.
|
2018-02-28 22:28:31 -08:00 |
jMyles
|
a7317883da
|
Other constructors now take powers_and_bytes so that an Ursula can be discovered with both a signing public key and an encrypting one.
|
2018-02-28 22:25:03 -08:00 |
jMyles
|
17bbf816cd
|
Bob no longer tracks a single Alice as an attribute; instead, he tracks an Alice with each Policy.
|
2018-02-28 22:04:37 -08:00 |
jMyles
|
2c5e95dd37
|
Ursulas coming out are Ordered, but so also need Ursulas going in to be!
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
1b426fa54d
|
Changed Bob's generated_work_orders to OrderedDict.
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
2cd820885c
|
__repr__ that doesn't suck (given that we don't have ursula_id for WorkOrder anymore)
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
a0553d8754
|
Better name for Ursula entry script.
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
fdce175e1d
|
Cleaning up db for Ursula non-mining entry point.
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
f5e3f978b1
|
Better Keystore instantiation time, and also no need to manually start servers anymore (as they run on the same thread).
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
f4a98bf942
|
Touching up some tests a bit.
|
2018-02-28 17:40:49 -08:00 |
jMyles
|
fa28e75772
|
Pass Finnegan's Wake as an argument on the command line.
|
2018-02-28 17:38:10 -08:00 |
jMyles
|
7e567c24f6
|
Introducing named DBs per Ursula.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
cdc39c67eb
|
Keystore uses ThreadedSession context manager (probably needs some touching up).
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
4ea191f3b7
|
Keystore methods now take a session object (or use the reactor thread-scoped session by default)
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
d8d2ccc9dc
|
Model tweak - let's eagerly load the relation.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
93ada655ce
|
Better launch logic - attach the server exactly once.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
929ece9d49
|
Script for Alice to grant access to Bob and then use the policy to re-encrypt a file, line-by-line.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
554ccd0f31
|
Ursula running on localhost, with NetworkyStuff to find her.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
12b234119e
|
We don't run Ursula's datastore in a threadpool anymore.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
0d952cd024
|
Using ThreadSession context manager inside KeyStore. Let's see what happens if we move it up a layer.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
5dcf405c54
|
Sharpening NetworkyStuff.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
edf8840d5a
|
Faking Ursulas for tests.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
5cddd96545
|
Constructing a Policy now requires an actual Ursula (Bob must already know about this Ursula anyway, no reason not to just pass it in).
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
d35687907d
|
Just use the keccak_digest function directly - this was never a good change really.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
0de893110f
|
Not going to do the datastore-in-threadpool thing anymore.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
c9d518beac
|
Marking and expanding some DHT value parsing logic. See #172.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
14a4bf1634
|
NetworkyStuff can now engage Ursula's REST endpoints to handle TreasureMaps.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
0ffdbd0e6e
|
Cleaner to just keep the Ursula attached to the WorkOrder.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
b2d3214162
|
Of course stamp can be a dict key.
|
2018-02-28 17:37:27 -08:00 |
jMyles
|
63d1e731c9
|
Ursula's ID is now just her Public Signing Key.
|
2018-02-28 17:37:26 -08:00 |
jMyles
|
990c03b65a
|
Not sure how this ever worked - we need to call the hrac function.
|
2018-02-28 17:33:58 -08:00 |
jMyles
|
1caf764350
|
Bob was previously learning about some Ursulas more than once; no need for that.
|
2018-02-28 17:33:58 -08:00 |
jMyles
|
6aa0cb46d2
|
TreasureMaps are now attainble via the REST interface.
|
2018-02-28 17:33:58 -08:00 |
jMyles
|
edad1d7148
|
dict interface for from_public_keys.
|
2018-02-28 17:33:53 -08:00 |
jMyles
|
139e767a2b
|
All Characters need to know about Ursulas (and other information nodes if we ever run them).
|
2018-02-28 17:33:15 -08:00 |
jMyles
|
6fa7bd5823
|
Ursula's datastore now runs in a separate thread in all cases.
|
2018-02-28 17:32:19 -08:00 |
jMyles
|
d5d8677cf3
|
We don't have policy groups anymore.
|
2018-02-28 17:32:19 -08:00 |
jMyles
|
56b5cae55f
|
Some Bob logic to get off the DHT.
|
2018-02-28 17:32:19 -08:00 |
jMyles
|
82f3a0a949
|
We don't use NotFound anymore, but we do have more and more situations where Characters need to raise NotEnoughUrsulas. Let's put it on Character.
|
2018-02-28 17:32:19 -08:00 |
jMyles
|
3c00927e65
|
Moving Ursula's datastore access to a Threadpool.
|
2018-02-28 17:32:19 -08:00 |
Justin Holmes
|
229e4fa9ed
|
Merge pull request #171 from jMyles/character-crypto
Lots of good redlines. Cleaning up Character and Powers.
|
2018-02-26 22:41:15 -08:00 |
jMyles
|
152ab56417
|
Touching up generate_kfrags docstrings.
|
2018-02-24 02:08:22 -08:00 |
jMyles
|
f9833f7d0d
|
Moved Ursula's REST bits to a new class.
|
2018-02-24 02:08:17 -08:00 |
jMyles
|
e1b4f242ab
|
Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest.
|
2018-02-24 01:53:20 -08:00 |
jMyles
|
857a91855a
|
We don't do lookup_actor anymore.
|
2018-02-24 01:45:50 -08:00 |
jMyles
|
5ce725f368
|
PowerUps no longer need to provide functions themselves; they can indicate that they provide functions from their keypair.
|
2018-02-24 01:44:36 -08:00 |
jMyles
|
87af827a68
|
Reducing the number of functions called generate_kfrags.
|
2018-02-24 01:44:14 -08:00 |