Commit Graph

1341 Commits (fccdfc2a1641e266dd0b501862ee61219fab0004)

Author SHA1 Message Date
szotov 459bdd7c27 [KMS-ETH]- Fixed high gas consumption in PolicyManager 2018-03-10 16:04:11 +03: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
szotov acb6741170 [KMS-ETH]- Added verifyState and finishUpgrade methods to PolicyManager 2018-03-07 11:31:55 +03: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
szotov e648143d9c [KMS-ETH]- Added events for contracts and tests for them 2018-03-06 13:14:26 +03:00
Justin Holmes 4f3131ffe2
Merge pull request #173 from jMyles/policy
Working nodes: Ursula and AliceBob.
2018-03-05 15:44:11 -08:00
szotov dec362fda7 [KMS-ETH]- Fixed bugs and tests with 32 bytes miner id 2018-03-02 20:49:42 +03:00
szotov 67366ce685 [KMS-ETH]- Merge remote-tracking branch 'remotes/origin/master' into timePeriod
Fixed conflicts in scripts/estimate_gas_tester.py
2018-03-02 20:10:49 +03:00
K Prasch 61d0948c01 [KMS-ETH]- Merge pull request #6 from KPrasch/python_api
Python types for NuCypher crypto-entities.
2018-03-02 07:51:25 -08:00
szotov fc5ad0d03f [KMS-ETH]- Forgotten contracts 2018-03-02 15:19:57 +03:00
szotov 164b4e1c77 [KMS-ETH]- Updated zeppelin-solidity libraries, updated solidity code for v0.4.20, fixed small bugs 2018-03-02 15:17:25 +03:00
Kieran Prasch 1d0efeabef [KMS-ETH]- Code review updates with @jMyles; Additional commentary. 2018-03-01 21:16:36 -08:00
Kieran Prasch 571be97d22 [KMS-ETH]- Revert ursula flow to depiction. 2018-03-01 19:26:41 -08:00
Kieran Prasch 5874a43d37 [KMS-ETH]- Resolves conflict by moving and renaming installation scripts. 2018-03-01 19:02:38 -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