Commit Graph

1059 Commits (8d2bd2d77d4f275ebfcc095970231e9aafe78d0e)

Author SHA1 Message Date
jMyles 8d2bd2d77d cryptoKits is now its own project. 2018-04-01 18:50:53 -07:00
jMyles 22ab9b69bf Fixed mutable in method kwarg. 2018-04-01 18:48:43 -07:00
Justin Holmes e5eccaee4b
Merge pull request #181 from jMyles/master
Using new "to cryptography" methods.
2018-03-29 19:02:34 -07:00
jMyles b4e34c0981 Using new "to cryptography" APIs. 2018-03-18 00:42:28 -07:00
Justin Holmes 3712dde087
Merge pull request #178 from jMyles/tls
Ursula now uses TLS.
2018-03-07 16:03:18 -08:00
jMyles aa23f7855e Ursula demo now uses only TLS1.2. 2018-03-07 14:23:34 -08:00
jMyles 42870a25f0 Fixed a few comments and updated kfrag generation for new pyumbral interface. 2018-03-07 06:34:31 -08:00
jMyles 8e0899473f Test for generating cert. 2018-03-06 17:54:11 -08:00
jMyles d289ac31e8 Updated Finnegan's Wake demo to use TLS. 2018-03-06 17:52:23 -08:00
jMyles 53a0a33f6a SigningPower / keypair pipeline for generating certs. 2018-03-06 17:51:59 -08:00
jMyles b89877f81f generate_self_signed_certificate in API (Character-independent). 2018-03-06 17:51:15 -08:00
jMyles 06c515c4bb Introducing Character.generate_self_signed_cert() and updated docstrings to match. 2018-03-06 17:49:18 -08:00
jMyles 189326b0ec Not using Client anymore. 2018-03-06 17:48:40 -08:00
jMyles 3d81d8b668 Updated requirements. 2018-03-06 17:46:27 -08:00
Justin Holmes 4f3131ffe2
Merge pull request #173 from jMyles/policy
Working nodes: Ursula and AliceBob.
2018-03-05 15:44:11 -08:00
jMyles 03632d4927 We're not using storage anymore. 2018-03-01 00:15:27 -08:00
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