Commit Graph

2821 Commits (a2f460f4a2f7830e1c4b846790c017651ea4b959)

Author SHA1 Message Date
Michael Egorov 9c8746e370 Rekey 2017-09-30 13:59:37 -07:00
Michael Egorov 572442b8cb Encrypt/decrypt with a serializing keypair 2017-09-29 23:18:20 -07:00
Michael Egorov 78e88010b4 Lazy generation of pubkey 2017-09-29 19:44:26 -07:00
Michael Egorov ddc91bb556 Re-encryption works but convoluted 2017-09-29 17:27:11 -07:00
Michael Egorov f66577b9b8 Test encryption/decryption w/o re-encryption - works 2017-09-29 13:24:14 -07:00
tuxxy 63fdfcae29 Add code for decrypt w/ broken test_encrypt_decrypt 2017-09-28 16:10:50 -07:00
tuxxy 9f3c2547f3 Add decrypt method placeholder 2017-09-28 14:11:26 -07:00
tuxxy 53821e92da Add encrypt method code and update generate_key to accept pubkeys 2017-09-28 13:09:59 -07:00
tuxxy d4a4bd5066 Add encrypt method 2017-09-28 11:12:14 -07:00
tuxxy 983dd3c4d5 Update _derive_path_key and add test_derive_path_key 2017-09-28 11:11:21 -07:00
tuxxy 37fc9d0dab Add test_split_path 2017-09-28 10:39:44 -07:00
tuxxy 25ee602f13 Add _split_path method 2017-09-28 10:32:37 -07:00
tuxxy 6ec873f008 Create a KeyRing object on __init__ 2017-09-28 10:03:54 -07:00
Justin Holmes 60b92f36e0 Merge pull request #62 from jMyles/network
Character classes pursuant to our call today.
2017-09-28 09:36:27 -07:00
jMyles 346f0a3d01 First draft of Character classes, along with a test of the moment that Alice finds Ursula. 2017-09-27 23:50:23 -07:00
jMyles c0d401c9ca Makes Policy.id a property to prepare for id building by Bob and Ursula. 2017-09-27 09:58:19 -07:00
Tux 674e669704 Merge pull request #55 from tuxxy/umbral
Implement Umbral into KeyRing and EncryptingKeypair
2017-09-27 10:30:46 -06:00
tuxxy ef738d7cba Fix test_rekey_and_reencryption 2017-09-26 23:35:00 -07:00
tuxxy af0b298cbf Merge branch 'master' of github.com:tuxxy/nucypher-kms into umbral 2017-09-26 21:18:23 -07:00
tuxxy cbfea253b6 Add rekey test that isn't working 2017-09-26 21:04:39 -07:00
tuxxy b6e18ec085 Add symm_encrypt/decrypt methods in KeyRing w/ tests 2017-09-26 13:07:23 -07:00
tuxxy b3f0335679 Allow generate_key to have a pubkey param 2017-09-26 13:06:52 -07:00
Justin Holmes 7c9dedc26c Merge pull request #44 from jMyles/policy
Policy and PolicyGroup.  Some methods are faked with random data.
2017-09-26 13:05:25 -07:00
jMyles ec01307dc9 PolicyManager for making PolicyGroups. 2017-09-26 12:59:06 -07:00
jMyles c55c0302e7 Using keccak-256 for hashing. Closes #45. 2017-09-26 12:59:06 -07:00
jMyles 9e314d8b81 Added more Policy and PolicyGroup logic. Now conforms to @tux's crypto APIs. 2017-09-26 12:59:06 -07:00
jMyles f6b9111b63 First swing at Policy and PolicyGroup. 2017-09-26 12:59:06 -07:00
jMyles 14ba51425e Another rough sketch of a test for KeyChain. 2017-09-26 12:59:06 -07:00
jMyles 8cf8daf872 Skeleton first test for Alice -=> Ursula. 2017-09-26 12:59:06 -07:00
jMyles 08f39756ff Caching pip packages on Travis. 2017-09-26 12:12:21 -07:00
jMyles d829ceda58 Travis -=> Slack integration. 2017-09-26 12:09:17 -07:00
Michael Egorov 23162ecc28 Merge pull request #57 from jMyles/ops
Re-introducing conftest and thus nkms.db.
2017-09-26 11:37:44 -07:00
jMyles 825616bf23 Re-introducing conftest and thus nkms.db. 2017-09-26 11:27:03 -07:00
Michael Egorov 2d746ad8c6 Merge pull request #56 from jMyles/ops
Let's see if removing xdist fixes the Travis problem.
2017-09-26 10:44:59 -07:00
jMyles 8aaf363af6 Let's see if removing xdist fixes the Travis problem. 2017-09-26 10:38:29 -07:00
tuxxy 82864f643d Add Umbral to Client 2017-09-26 10:25:42 -07:00
tuxxy 2670ae7605 Add test for test_split_key_sharing 2017-09-26 10:24:05 -07:00
tuxxy 48fa10d7cb Add test for rekey and re-encryption 2017-09-26 10:14:38 -07:00
tuxxy 56bf4381eb Add tests for key generation and key decryption; serialization is already handled with EncryptedKey 2017-09-26 10:03:37 -07:00
tuxxy 1f53300abf Remove old encryption/decryption tests for KeyRing 2017-09-26 09:48:01 -07:00
Justin Holmes a04608eb50 Merge pull request #54 from jMyles/ops
Travis and Pipenv setup.
2017-09-26 09:47:21 -07:00
tuxxy b2924b6b41 Handle serialization from bytes->int on KeyRing.decrypt_key 2017-09-26 09:47:18 -07:00
tuxxy db152239f8 Add KEYSIZE constant in EncryptingKeypair 2017-09-26 09:46:49 -07:00
tuxxy 2117aa937b Add umbral methods to KeyRing without handling serialization 2017-09-26 09:40:34 -07:00
tuxxy ecf3d82dc0 Use combine instead of build_secret in keypairs tests 2017-09-26 09:40:00 -07:00
tuxxy bec435364c Rename EncryptingKeypair build_secret to combine 2017-09-26 09:38:54 -07:00
tuxxy c12b7462bf Remove old methods to replace with Umbral methods 2017-09-26 09:27:30 -07:00
tuxxy a43c587d0d Fix methods in EncryptingKeypair and fix split key reencryption tests 2017-09-25 16:28:53 -07:00
jMyles e89e1f2462 Skipping two more tests, as #53 appears to be happening again, at least some of the time. 2017-09-25 15:21:36 -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