Commit Graph

483 Commits (fce814f8d9ab2f675cb7853399e5aaae85044273)

Author SHA1 Message Date
jMyles ab6cbaead6 Seed-only Server now (at least seems) to actually refuse to store data. Fixes #23. 2017-09-13 13:34:40 -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 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 e9ce021283 Merge branch 'master' of github.com:nucypher/nucypher-kms 2017-09-05 18:54:29 -06: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
Michael Egorov 1219734484 Using lmdb as a dict-like storage 2017-09-05 15:43:16 -07:00
tuxxy 54f4eeaa44 Use path as bytes and fix tests /so far/ 2017-09-04 23:30:05 -06: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 d33e678eca Merge branch 'client-wip' 2017-09-01 22:49:44 -07:00
tuxxy 493b3e2c08 Add tests for KMAC 2017-09-01 23:20:14 -06:00
jMyles c97e1290da Updated to reflect solution that we arrived at for PR 32 on kademlia. Also includes a test. 2017-09-01 17:15:50 -07:00
tuxxy 209fa8f1e7 Fix bugs and whatnot 2017-09-01 15:42:00 -06:00
tuxxy a0ee894d30 Add tests for decrypt_key 2017-09-01 14:09:31 -06:00
tuxxy dde40b211b Add is_pub param to _derive_path_key and update tests 2017-09-01 13:54:10 -06:00
tuxxy ff68cb64b5 Add tests for encrypt_bulk and decrypt_bulk 2017-09-01 13:40:24 -06:00
tuxxy 935327a7a6 Add tests for derive_key_path and encrypt_key 2017-09-01 13:28:24 -06:00
Michael Egorov e0a6574905 No secret key 2 needed for rekey 2017-08-25 22:12:21 -07:00
jMyles 23053ba979 In test_pre, made names more verbose, added comments, added newlines for emphasis. 2017-08-24 18:45:19 -07:00
Michael Egorov 2a515501f4 Remove print 2017-08-19 20:50:26 -07:00
Michael Egorov 9d25c7dbd1 pubkey bbs98 2017-08-19 20:12:47 -07:00
Michael Egorov e8c06b8349 Public key bbs98 2017-08-19 14:50:34 -07:00
Michael Egorov 8febc2798c PRE reencryption to pubkey 2017-08-19 13:17:54 -07:00
Michael Egorov 55dbfdd8e0 test_default_crypto - symmetric crypto 2017-08-19 12:05:18 -07:00
Michael Egorov f7a3eaa5ca Dummy test file 2017-08-18 10:28:29 -07:00