Commit Graph

4917 Commits (f99d60b8625087552e74d740661dbc68d8c88012)

Author SHA1 Message Date
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
Tux 425ea246c3 Merge pull request #43 from tuxxy/keyring
[WIP] Add KeyRing object with sign/verify/encrypt/decrypt functionalities
2017-09-19 11:23:19 -06:00
tuxxy 7dd5fb18d8 Use a different keypair/keyring to verify signatures 2017-09-19 09:13:26 -07:00
tuxxy cd017c6e62 Add pubkey param to signing keypair's verify methods 2017-09-19 09:10:09 -07:00
tuxxy 603486b5d1 Update KeyRing tests to use the pubkey param on encryption
Fix keypair components
2017-09-19 09:02:26 -07:00
tuxxy e2e63ad38b Add pubkey param to KeyRing 2017-09-19 08:52:13 -07:00
tuxxy d82dfabec0 Move keypair tests into test_keypairs and add tests for EncryptingKeypair 2017-09-19 08:49:31 -07:00
tuxxy 824cd0d883 Encrypt with a provided pubkey 2017-09-19 08:42:57 -07:00
tuxxy dbedb420d9 Move packages around and use namespace nkms.crypto.keypairs and nkms.crypto.keyring 2017-09-19 08:34:14 -07:00
tuxxy 78483ff3e7 Add test_encryption and test_decryption 2017-09-19 08:27:05 -07:00
Michael Egorov 9631b92a9b [KMS-ETH]- Jury only locks, and Ursula can withdraw from escrow 2017-09-18 15:40:05 -04:00
Michael Egorov 06e625f000 [KMS-ETH]- Simple escrow to be controlled by smart contract (Jury) 2017-09-18 12:03:21 -07:00
tuxxy 10c3b25322 Fill out encrypt/decrypt methods for KeyRing 2017-09-18 11:36:45 -07:00
tuxxy ff49bfc70b Add EncryptingKeypair key generation and add encrypt/decrypt method placeholders 2017-09-18 11:34:14 -07:00
tuxxy d432d5f51d Add docstring comments 2017-09-18 11:30:24 -07:00
tuxxy b496480b3f Add decrypt method 2017-09-18 11:28:36 -07:00
tuxxy 825884ef0e Add encryption method 2017-09-18 11:28:03 -07:00
tuxxy 4058897d55 Add __init__ method for EncryptingKeypair w/ key generation 2017-09-18 11:26:46 -07:00
tuxxy b5d97a1a57 Add encrypting_keypair file w/ EncryptingKeypair object 2017-09-18 11:20:24 -07:00
Michael Egorov 28a7dda8bf Use default generator point (same as in Bitcoin and Ethereum) 2017-09-18 11:15:46 -07:00
tuxxy 19ee10bd73 Add test_keyring with sign and verify tests 2017-09-18 11:06:37 -07:00
tuxxy 2a2468edaa Actually digest the message 2017-09-18 11:06:15 -07:00
tuxxy 79b6f178a8 Add test_verification for test_signing_keypair 2017-09-18 10:55:44 -07:00
tuxxy 5c7bc5f219 Refactor the v, r, and s msgpack loading into their own methods 2017-09-18 10:54:59 -07:00
tuxxy f4cf9090b7 Add test for signing with SigningKeypair 2017-09-18 10:39:36 -07:00
tuxxy 0b714fff5e Add sign/verify methods to KeyRing 2017-09-18 10:32:56 -07:00
tuxxy 76485f7b06 Add sign/verify functions 2017-09-18 10:25:36 -07:00
tuxxy bf08aa5b53 Add SigningKeypair object and add key generation capabilities 2017-09-18 09:59:34 -07:00
tuxxy 2a3b61f1ba Add boilerplate for KeyRing __init__ method 2017-09-18 09:33:23 -07:00