Commit Graph

79 Commits (4689c477d2579ec24168954eb2b92a09846573e2)

Author SHA1 Message Date
tuxxy 4689c477d2 Force a path of '/' to be '' 2017-09-05 18:51:33 -06: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
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 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
Tux f7219fcf1f Remove some extraneous whitespace 2017-09-01 18:54:04 -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
jMyles ae306d6bdd pysha3 monkey patch so that hashlib sha3 functions work on Python 3.5 2017-09-01 15:55:39 -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 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 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
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 87011f37c5 Append length in bits to new_X 2017-09-01 10:06:18 -06:00
tux 1acf1c3034 Use length in bytes... 2017-09-01 02:12:19 -06:00
tux ce5805a468 Add comment on format for padded_x 2017-09-01 01:37:43 -06:00
tux baca43a569 Add object for KMAC-256 2017-09-01 01:32:16 -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
tuxxy a90da9e274 Remove unneeded gen_priv method 2017-08-31 13:31:00 -06:00
tuxxy ca9aea1155 Add key generation method 2017-08-31 12:25:31 -06:00
jMyles 8f509533c5 First implementation of customized Server and Protocol classes for DHT. Pending PR 32 on kademlia. 2017-08-30 22:13:18 -07:00
Michael Egorov 3ed967335b ZODB -> lmdb in docs 2017-08-27 11:34:24 -07:00
Michael Egorov e0a6574905 No secret key 2 needed for rekey 2017-08-25 22:12:21 -07: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 1379c037a5 Fix quote marks 2017-08-24 22:36:04 -07:00
Michael Egorov 99834ea93a Move architecture.rst to doc/ 2017-08-24 22:25:39 -07:00
Michael Egorov 6fc5f1d24c Merge pull request #16 from jMyles/master
In test_pre, made names more verbose, added comments, added newlines …
2017-08-24 18:55:52 -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 53f221c107 Merge pull request #15 from jMyles/master
Link to kademlia from docs.
2017-08-23 18:05:41 -07:00
Justin Holmes 2a44199625 Link to kademlia from docs. 2017-08-23 17:36:56 -07:00