Commit Graph

2821 Commits (a2f460f4a2f7830e1c4b846790c017651ea4b959)

Author SHA1 Message Date
tuxxy 0ae3e92432
Add SQLAlchemy to Pipfile 2017-11-02 18:21:08 -07:00
tuxxy 398bba06f7
Merge branch 'sqlite' of github.com:tuxxy/nucypher-kms into sqlite 2017-11-02 18:19:32 -07:00
tuxxy f9de664c6d
Set secure_delete pragma 2017-11-02 18:19:26 -07:00
Tux ac0547f020
Merge branch 'master' into sqlite 2017-11-02 17:54:03 -07:00
Tux 80bfc250f8
Merge branch 'master' into sqlite 2017-11-02 17:53:27 -07:00
tuxxy 009d32ce66
Implement SQLite and remove lmdb 2017-11-02 17:50:09 -07:00
tuxxy a5ad9d3300
Add tests for sqlite 2017-11-02 17:10:06 -07:00
tuxxy e2fd18dfc9
Add __init__ and get_fingerprint methods to models.Key 2017-11-02 17:00:42 -07:00
tuxxy a855e05e6a
Add Key model to keystore.db.models 2017-11-02 16:45:16 -07:00
tuxxy acc6467b4d
Add empty models.py 2017-11-02 16:11:53 -07:00
tuxxy b8be897934
Add declarative base to db.__init__ 2017-11-02 16:10:58 -07:00
szotov 61c5bc5b74 [KMS-ETH]- Added mining for token 2017-11-02 18:31:01 +03:00
szotov cd290957d8 [KMS-ETH]- Added gas estimating on tester 2017-10-31 18:03:42 +03:00
szotov 57259de4bd [KMS-ETH]- Added simple mining and tests 2017-10-31 12:01:52 +03:00
Justin Holmes 0d004bd74b
Merge pull request #91 from jMyles/master
Removing test datastore from VCS.
2017-10-27 14:45:51 -07:00
jMyles 6a678ba5de Removing test datastore from VCS. 2017-10-27 14:03:51 -07:00
szotov 223deac0b0 [KMS-ETH]- Removed human jury, changed locking to use block numbers, added second example of escrow contract 2017-10-27 19:13:50 +03:00
tuxxy bec04ef34a
Add __init__ for db module in keystore 2017-10-26 14:38:48 -07:00
szotov d28e183280 [KMS-ETH]- Added zeppelin library, added some functions to Escrow 2017-10-26 19:53:04 +03:00
szotov 7204d16faf [KMS-ETH]- Added linked list library for addresses, added destruct method for escrow 2017-10-25 17:36:23 +03:00
Justin Holmes 6cb8d4fa39 Merge pull request #83 from tuxxy/rekey-api
Rekey api
2017-10-23 14:28:22 -07:00
tux 0ae9d007c8 Implement generate_rekey_frags method on Alice
This doesn't include a test for this function. This is basically a tiny
wrapper around the crypto api for generating the key frags.

I'll leave it to JMyles to implement this how he wants.

Fix syntax error

Skip erroring test
2017-10-23 14:20:15 -07:00
Justin Holmes c9b95cd5a9 Merge pull request #87 from tuxxy/KeyNotFound-error
Implement KeyNotFound Exception
2017-10-23 13:57:13 -07:00
tuxxy 583d9a3962 Use better error message 2017-10-23 13:44:30 -07:00
tuxxy d7dc6f06bc Check for KeyNotFound error in tests 2017-10-23 13:38:06 -07:00
tuxxy 058c1206a6 Raise KeyNotFound when no key is located in lmdb 2017-10-23 13:38:06 -07:00
tuxxy 08ebcf3c4b Add KeyNotFound exception class 2017-10-23 13:38:06 -07:00
Justin Holmes 23fe9dffdb Merge pull request #84 from tuxxy/keystore
Implement lmdb in KeyStore
2017-10-23 11:32:54 -07:00
tuxxy 010331108a Skip the client test for now 2017-10-23 11:20:43 -07:00
szotov 14549213d7 [KMS-ETH]- Upgraded populus configuration 2017-10-23 13:28:20 +03:00
szotov 3404f01cb1 [KMS-ETH]- Added multi-personal Escrow contract and some checks 2017-10-22 19:53:09 +03:00
tuxxy d01e6e1bae
Add tests tesT_lmdb_keystore 2017-10-20 16:20:53 -06:00
tuxxy 6cca4d2b27
Convert the keypair_byte and the key_type_byte to actual bytes 2017-10-20 16:20:36 -06:00
tuxxy 37cf1af935
Return None if no key exists 2017-10-20 16:05:09 -06:00
tuxxy 0ae8d4ffa6
Fill out del_key 2017-10-20 15:46:56 -06:00
tuxxy 9070679f2e
Fill out get_key and add_key 2017-10-20 15:44:47 -06:00
tuxxy 0855bd5972
Add serialization methods for the keystore keypairs 2017-10-20 15:32:51 -06:00
tuxxy 84b9375179
Fill out __init__ and __del__ for KeyStore 2017-10-20 15:28:32 -06:00
tuxxy 2a1110e2c9
Add constants for keypair type bytes 2017-10-20 15:28:03 -06:00
tuxxy 183ce12f09
Add test for test_ecies_ephemeral_split_rekey 2017-10-19 01:31:04 -06:00
tuxxy e6240486a9
Fill in ecies_ephemeral_split_rekey 2017-10-19 01:25:53 -06:00
tuxxy 48f75b798f
Add test test_ecies_gen_ephemeral_key in test_internal 2017-10-19 01:22:00 -06:00
tuxxy 447594e30c
Add empty test_internal.py 2017-10-19 01:04:31 -06:00
tuxxy fd54c6bf38
Fill out _ecies_gen_ephemeral_key 2017-10-19 01:04:02 -06:00
tuxxy ec3f95e62f
Add placeholder function _ecies_gen_ephemeral_key to _internal.py 2017-10-19 00:59:50 -06:00
tuxxy a81b6e0f23
Add empty _internal.py
This is a place for interal cryptographic functions and possibly
functions that may make it into the core cryptographic api.
2017-10-19 00:51:18 -06:00
tuxxy c9b35967b4
Add placeholder for ecies_ephemeral_split_rekey 2017-10-19 00:48:13 -06:00
jMyles 24b1f4fa92 Bringing policy logic back in line with protocol with new crypto tooling. 2017-10-18 15:48:20 -07:00
jMyles b5033e32f6 Lots of housekeeping on various Alice <=-=> Ursula activity in policy. 2017-10-18 15:48:11 -07:00
jMyles 8f3e379ae4 Policy now raises Ursula.NotFound if we havne't found an Ursula yet. 2017-10-18 15:48:11 -07:00