Commit Graph

11795 Commits (fafff095db1a4a99f9a2f93935a7ff993a41388b)

Author SHA1 Message Date
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
jMyles 43c3095166 Tests now pass locally; travis config polished a bit. py_ecc added as requirement. 2017-09-25 15:06:08 -07:00
jMyles 5e80e4db00 Not using nkms.db anymore. 2017-09-25 14:41:47 -07:00
jMyles 832b7e76c4 First draft of travis and pipenv setup. Also added pycharm metadata to .gitignore. 2017-09-25 14:33:07 -07:00
tuxxy 0e9315cd22 Add split_key reencryption test for EncryptingKeypair 2017-09-25 14:13:11 -07:00
tuxxy 338c6dd15f Add method build_rekey for EncryptingKeypair 2017-09-25 13:58:27 -07:00
tuxxy 84b5680377 Add split_rekey method to EncryptingKeypair 2017-09-25 13:54:09 -07:00
tuxxy e1d649af53 Convert test_keypairs.TestEncryptingKeypair methods to use Umbral 2017-09-25 13:46:36 -07:00
tuxxy 947a46f933 Add rekey and reencrypt methods to EncryptingKeypair 2017-09-25 13:27:03 -07:00
tuxxy 4f6ac0512f Add decrypt_key method and remove unneeded encrypt/decrypt methods 2017-09-25 13:17:03 -07:00
tuxxy fb3fd0281b Add generate_key method for umbral in EncryptingKeypair 2017-09-25 13:13:45 -07:00
Tux 06a986c0a4 Merge pull request #42 from tuxxy/header-object
[WIP] Add Header object and refactors EncryptedFile and Client
2017-09-25 11:01:26 -06:00
tuxxy b63c6b0146 Remove deprecated methods that are being used elsewhere 2017-09-22 12:55:37 -07:00
tuxxy 41d70bef8d Add rekey method for KeyRing 2017-09-21 15:14:45 -07:00
tuxxy 8ef798675b Add rekey method in EncryptingKeypair 2017-09-21 15:13:01 -07:00
tuxxy 939371b700 Add methods encrypt_bulk, decrypt_bulk, and derive_path_key 2017-09-20 11:23:44 -07:00
tuxxy b848da27ea Add properties for each specific key in the KeyRing 2017-09-20 10:42:59 -07:00
tuxxy ca5dc95578 Read chunk_size + PADDING_LENGTH as ciphertext 2017-09-20 09:57:59 -07:00
tuxxy 845dcdd098 Add PADDING_LENGTH constant 2017-09-20 09:56:19 -07:00
tuxxy 1cde0b88e2 Enforce bytestring keys for msgpack
Use bytestring keys in test_header
2017-09-20 09:47:45 -07:00
tuxxy 393c699b5f Use correct object to call update_header and return the written chunks 2017-09-20 09:40:35 -07:00
tuxxy 1c4be8d541 Add testing steps for TestEncryptedFile 2017-09-20 09:37:49 -07:00
tuxxy d3e01cc98c Add monolithic test code 2017-09-20 09:16:20 -07:00
tuxxy 003f28c944 Merge branch 'master' of github.com:nucypher/nucypher-kms into header-object 2017-09-20 09:00:56 -07:00
Michael Egorov 0dfcc8a363 Merge pull request #49 from tuxxy/keyring-keygen
Expose KeyRing method for generating random numbers
2017-09-20 08:57:36 -07:00
tuxxy 03353876c8 Expose KeyRing method for generating random numbers 2017-09-20 08:51:14 -07:00
tuxxy 76c4047803 Merge branch 'master' of github.com:nucypher/nucypher-kms into header-object 2017-09-20 08:32:23 -07:00