Commit Graph

473 Commits (bd599a8b678c97018c4037d5e2f366ac2ca12ca8)

Author SHA1 Message Date
tuxxy 75b7e30e7a
Push priv/pub to be the first param in encrypt/decrypt functions 2017-10-16 13:17:40 -06:00
tuxxy 299e89105e
Accept tuple in param 2017-10-16 13:12:35 -06:00
tuxxy f83486636b
Decapsulate enc_key 2017-10-16 13:08:32 -06:00
tuxxy 2d52062581
Add PKE decrypt method [WIP]
Remove old encrypt method
2017-10-16 12:26:45 -06:00
tuxxy 426eedf706
Add some PKE and key encryption methods and comment out old encrypt method 2017-10-16 12:05:38 -06:00
tuxxy c8b7459e66
Add gen_path_keys function: 2017-10-13 15:18:52 -06:00
tuxxy 529c5aac85
Add PKE encryption method 2017-10-13 14:58:34 -06:00
tuxxy 98c0a45658
Fix up encrypt returns 2017-10-13 11:50:26 -06:00
tuxxy 9c8bc7eb6e
Add _decrypt_key 2017-10-12 14:58:03 -06:00
tuxxy 5a30ab0626
Add placeholder for decrypt method 2017-10-11 20:24:03 -06:00
tuxxy ed5a1a30a8
Fill out the encrypt method 2017-10-11 20:08:47 -06:00
tuxxy 228974001b
Add the encryption code so far 2017-10-11 16:51:27 -06:00
tuxxy dcbc6341fc
Implement _encrypt_key 2017-10-11 15:32:40 -06:00
tuxxy be78118254
Add _derive_path_key 2017-10-11 15:14:32 -06:00
tuxxy 4527f0f93a
Add placeholder method for encrypt and add _split_path 2017-10-11 14:47:55 -06:00
tuxxy a14f83fba5
Merge branch 'character-crypto' of github.com:jmyles/nucypher-kms into encrypting-power 2017-10-11 14:08:42 -06:00
tuxxy be18ef9017
Add tests for TestKeyStore 2017-10-11 14:02:27 -06:00
tuxxy 8fb36b8b13
Add boolean switch to generate private key in gen_ecies_keypair and gen_ecdsa_keypair 2017-10-11 13:59:27 -06:00
tuxxy ccece81783
Add test_ecdsa_keypair_generation to test_keypairs 2017-10-11 13:54:13 -06:00
tuxxy 263b21a84e
Add TestKeypairs TestCase with test_ecies_keypair_generation 2017-10-11 13:51:58 -06:00
tuxxy 8e29c079d0
Add placeholder methods for get_key, add_key, and del_key 2017-10-11 13:44:51 -06:00
tuxxy 1a328811bf
Implement gen_ecies_keypair and gen_ecdsa_keypair 2017-10-11 13:42:32 -06:00
tuxxy b88b86ab43
Add SigningKeypair to keypairs 2017-10-11 13:38:09 -06:00
tuxxy b10a896f49
Add minimal key generation for EncryptingKeypair 2017-10-11 13:33:56 -06:00
tuxxy ad129831c9
Add empty keypairs.py file 2017-10-11 13:21:48 -06:00
tuxxy 01fa0ce456
Add placeholders for gen_ecies_keypair and gen_ecdsa_keypair 2017-10-11 13:21:04 -06:00
tuxxy 51a20401e7
Create keystore module w/ empty keystore.py 2017-10-11 13:11:07 -06:00
tuxxy 04f167baf2
Move keystore.py to keyring.py (temporary) 2017-10-11 13:09:49 -06:00
jMyles bf0f83b6ea Moving EncryptingKeypair over to powers. 2017-10-10 22:39:25 -07:00
Tux 453ce8d1b3 Merge pull request #74 from tuxxy/crypto-api
[WIP] Implement a low-level, frozen ECIES PRE Cryptographic API w/ serialization
2017-10-10 21:20:25 -06:00
tuxxy 42ee8fc8c9 Remove unneeded hash.py file 2017-10-10 20:32:37 -06:00
tuxxy c699fd3e18 Use keccak_digest instead of signature_hash or content_hash
Really use keccak_hash

keccak_hash -> keccak_digest

Fix another thing
2017-10-10 20:32:35 -06:00
tuxxy 3b3f44038c Fix tests and update imports to reflect nkms.crypto.api 2017-10-10 20:18:24 -06:00
tuxxy 84ba50ddf6 Remove the use of msgpack 2017-10-10 19:05:20 -06:00
tuxxy f8f2281528 Import nkms.crypto.api in test_api 2017-10-10 17:26:29 -06:00
tuxxy 2f5c507bcd Rename test_crypto.py to test_api.py 2017-10-10 17:25:17 -06:00
tuxxy 954d898aa2 Rename crypto.py to api.py 2017-10-10 17:24:43 -06:00
tuxxy 2a8195cd83 Add test for ecdsa_priv2pub 2017-10-10 17:23:56 -06:00
tuxxy be45b18258 Add tests for ecdsa_sign and ecdsa_verify 2017-10-10 17:20:48 -06:00
tuxxy 2b16609e85 Add ecdsa_pub2bytes and ecdsa_bytes2pub
Fix comment
2017-10-10 17:09:10 -06:00
tuxxy f697602390 Add ecdsa_gen_priv function and test 2017-10-10 16:30:19 -06:00
tuxxy b385d3f5bd Add tests for ecdsa_gen/load_sig 2017-10-10 16:18:17 -06:00
tuxxy 8269e5c396 Add test for keccak_digest 2017-10-10 16:14:49 -06:00
tuxxy 2263678c76 Add tests for the secure_random functions 2017-10-10 16:09:01 -06:00
tuxxy 539f537067 Add ecdsa_sign 2017-10-10 15:58:32 -06:00
tuxxy dcfdf1b2d2 Rename vrs_msgpack_dump/load to ecdsa_gen/load_sig 2017-10-10 15:49:56 -06:00
tuxxy b55722f770 Move pub/priv_bytes2ec to logical place 2017-10-10 15:49:56 -06:00
tuxxy fb0d6fc676 Rename to keccak_digest 2017-10-10 15:27:45 -06:00
tuxxy ce8b222197 Merge jmyle's PR fixing stuff 2017-10-10 15:03:06 -06:00
Tux a1a0abdd75 Merge pull request #75 from jMyles/crypto-api
Smoothing Crypto API differences between PRs.
2017-10-10 14:17:28 -06:00