Commit Graph

39 Commits (4d1d899a047d38716610fb5ce3a54f34d9b01b93)

Author SHA1 Message Date
tuxxy 27234dce73
Fix import errors 2017-10-16 13:39:46 -06:00
jMyles 7eae9c21b1 KeyRing -=> KeyStore and some other reorganization. 2017-10-09 14:03:16 -07:00
jMyles e8b62fbe09 Fixed ImportError in client.py. Updated Pipfile and travis config to use pytest-xdist. 2017-09-25 15:12:36 -07:00
tuxxy b63c6b0146 Remove deprecated methods that are being used elsewhere 2017-09-22 12:55:37 -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
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 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 d026f3f893 Add _build_header and _read_header methods to Client 2017-09-11 12:10:04 -07:00
tuxxy d3e5158339 Check for None path in encrypt_key 2017-09-06 12:51:31 -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
tuxxy 4dcc4dc99f Use Keccak-256 instead of KMAC 2017-09-05 17:00:05 -06:00
tuxxy 54f4eeaa44 Use path as bytes and fix tests /so far/ 2017-09-04 23:30:05 -06:00
tuxxy 2d6c4327bb Add test for client._split_path method 2017-09-04 12:59:14 -06:00
tuxxy 54ec647cd1 Fix _split_path method (thanks @michwill) 2017-09-01 23:18:32 -06:00
tuxxy f04889ef06 Add _split_path function (incomplete) 2017-09-01 22:54:12 -06:00
tuxxy 209fa8f1e7 Fix bugs and whatnot 2017-09-01 15:42:00 -06:00
tuxxy 3d278fc640 Handle path key derivation for decrypt_key 2017-09-01 14:08:35 -06:00
tuxxy dde40b211b Add is_pub param to _derive_path_key and update tests 2017-09-01 13:54:10 -06:00
tuxxy e16d11ff32 Remove check for length of tuple in encrypt_key 2017-09-01 13:27:44 -06:00
tuxxy 041b81a6df Add _derive_path_key method and handle paths 2017-09-01 12:08:00 -06:00
tuxxy 3669eb8d94 Use our private key to decrypt key 2017-08-31 13:39:38 -06:00
tuxxy 50eed45835 Encrypt/Decrypt bulk data 2017-08-31 13:35:07 -06:00
tuxxy 8c2b3ecbbb Create reencryption key in method 2017-08-31 13:34:35 -06:00
tuxxy 0874c38bdb Encrypt/Decrypt symmetric key 2017-08-31 13:33:56 -06:00
tuxxy 0d17c203de Generate keypair on __init__ 2017-08-31 13:31:49 -06:00
tuxxy f4f61b6ac4 Add imports needed for encryption/decryption 2017-08-31 13:31:24 -06:00
Michael Egorov 943fad56ba File API update 2017-08-25 13:01:51 -07:00
Michael Egorov cb751f5821 Some API changes 2017-08-24 23:07:27 -07:00
Michael Egorov ddd91d1ea2 Dummy client for tests 2017-08-20 10:43:29 -07:00
Michael Egorov 4f7f604ea2 API description updated 2017-08-18 10:47:35 -07:00
Michael Egorov 52a0351770 Algorithm params included 2017-08-18 07:00:54 -07:00
Michael Egorov d25aebb52b High level interface specified 2017-08-17 21:38:29 -07:00