Commit Graph

10863 Commits (1fa4641c9211c34097afd6831e2e25b0905ff435)

Author SHA1 Message Date
Michael Egorov 5bd6f7b220 [KMS-ETH]- Remove the greeter 2017-09-12 23:54:50 -07:00
Michael Egorov 40345c340c [KMS-ETH]- Token transfers work 2017-09-12 23:54:15 -07:00
Michael Egorov 8d178b2dd8 [KMS-ETH]- ERC20 contract and some basic tests 2017-09-12 22:31:33 -07:00
Michael Egorov 01c85ec58b [KMS-ETH]- Setup the environment and download solc 2017-09-12 15:26:14 -07:00
jMyles eb3e1eac61 Added appdirs as testing req. 2017-09-12 11:36:18 -07:00
tuxxy e0418db4da Check dec_key length for symmetric key length (32 bytes) 2017-09-12 10:23:07 -07:00
tuxxy 8a35453a8f Refactor and move decrypting code to 'client.decrypt'
Fix syntax error
2017-09-12 10:20:32 -07:00
jMyles 1640ba8615 Added appdirs as testing req. 2017-09-11 17:31:07 -07:00
tuxxy a9eb406d8b Add code to 'Client.encrypt' to generate storage ready data 2017-09-11 15:33:14 -07:00
tuxxy 79d8ed989b Add version number checking in 'Client.open' 2017-09-11 13:43:34 -07:00
tuxxy 4dca27a31e Add code for reading and decrypting a file 2017-09-11 13:37:16 -07:00
tuxxy c60bc89c86 Set mode default in client.open to 'rb' for reading bytes 2017-09-11 13:36:55 -07:00
tuxxy 5b4db3ac94 Return length of msgpack encoded header instead of raw header 2017-09-11 13:14:47 -07:00
tuxxy 3c2fbac129 Add length checking to header tests 2017-09-11 13:07:29 -07:00
tuxxy bafb15fb61 Return header and header length in tuple 2017-09-11 13:03:48 -07:00
tuxxy 6c305d91d9 Check for version number in _build_header 2017-09-11 12:51:24 -07:00
tuxxy 0feb161d7b Add check for num_keys in test_build_header_prealpha 2017-09-11 12:50:36 -07:00
tuxxy de59deb7b1 Add tests for _build_header and _read_header 2017-09-11 12:29:42 -07:00
tuxxy d026f3f893 Add _build_header and _read_header methods to Client 2017-09-11 12:10:04 -07:00
tuxxy 3b03d18f02 Merge branch 'master' of github.com:nucypher/nucypher-kms 2017-09-11 09:46:16 -07:00
tuxxy d3e5158339 Check for None path in encrypt_key 2017-09-06 12:51:31 -06:00
Michael Egorov 4f7ce6bf6b Merge pull request #24 from tuxxy/master
Handle paths as bytes
2017-09-05 18:01:30 -07:00
tuxxy e9ce021283 Merge branch 'master' of github.com:nucypher/nucypher-kms 2017-09-05 18:54:29 -06:00
tuxxy dc1f26fa65 Check for non-None paths 2017-09-05 18:51:54 -06:00
tuxxy 4689c477d2 Force a path of '/' to be '' 2017-09-05 18:51:33 -06:00
Michael Egorov fe6faa0a13 Dummy client to use DB instead of dict 2017-09-05 16:56:29 -07:00
Michael Egorov 7f03612611 Msgpack to pack any objects in db 2017-09-05 16:53:18 -07:00
Michael Egorov ddd7a6d849 Need to be able to store dicts 2017-09-05 16:41:54 -07:00
Michael Egorov dcfec2d7ab Make the default db for all tests, remove after each test 2017-09-05 16:39:13 -07:00
Michael Egorov a6be3fb1d9 For all tests - use debug db, not the 'production db' 2017-09-05 16:08:30 -07:00
Michael Egorov abfbdc7c16 Del and contains for DB 2017-09-05 16:02:25 -07:00
tuxxy 1e1dfa319b Remove KMAC import from test_client 2017-09-05 17:01:47 -06:00
tuxxy 48e4ccfe06 Remove KMAC code 2017-09-05 17:00:44 -06:00
tuxxy 4dcc4dc99f Use Keccak-256 instead of KMAC 2017-09-05 17:00:05 -06:00
Michael Egorov 1219734484 Using lmdb as a dict-like storage 2017-09-05 15:43:16 -07:00
Michael Egorov 1b84c53da0 No need for public key 2017-09-05 15:42:55 -07:00
Michael Egorov 7c6f6a40f4 ZODB -> lmdb 2017-09-05 12:24:40 -07:00
tuxxy 54f4eeaa44 Use path as bytes and fix tests /so far/ 2017-09-04 23:30:05 -06:00
Michael Egorov cc1ed27305 ID from 2 pubkeys 2017-09-04 14:23:05 -07:00
tuxxy e702e3d5e0 Add test for splitting path with 'no path' 2017-09-04 13:08:45 -06:00
tuxxy 2d6c4327bb Add test for client._split_path method 2017-09-04 12:59:14 -06:00
Michael Egorov be664574ea pubkey shouldn't be in the root of the storage 2017-09-02 19:09:22 -07:00
Michael Egorov d33e678eca Merge branch 'client-wip' 2017-09-01 22:49:44 -07:00
Michael Egorov 6becdedde4 Merge pull request #21 from jMyles/network
[WIP] Seed-only DHT server implementation.
2017-09-01 22:28:55 -07:00
Michael Egorov c951a6be29 Merge pull request #20 from tuxxy/master
[WIP] Add cryptographic code to client.py
2017-09-01 22:27:44 -07:00
tuxxy 493b3e2c08 Add tests for KMAC 2017-09-01 23:20:14 -06:00
tuxxy 54ec647cd1 Fix _split_path method (thanks @michwill) 2017-09-01 23:18:32 -06:00
tuxxy ea961b0cf3 Merge branch 'master' of github.com:tuxxy/nucypher-kms 2017-09-01 22:54:19 -06:00
tuxxy f04889ef06 Add _split_path function (incomplete) 2017-09-01 22:54:12 -06:00
Tux 24c7cffec6 Merge pull request #1 from jMyles/client
pysha3 monkey patch so that hashlib sha3 functions work on Python 3.5
2017-09-01 18:54:34 -06:00