Commit Graph

100 Commits (d1aabfcb09bfa4fa507746a1b0fab157fdea0893)

Author SHA1 Message Date
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
Kieran Prasch f8e5d58f89 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:24:08 -07:00
jMyles fa6a4f6f57 Using pyUmbral Signer as SignatureStamp's signing function. 2018-05-28 12:10:05 -07:00
jMyles 41805d5d06 Removing references to 'KMS' 2018-05-08 13:02:18 -07:00
jMyles fc99ef2e27 BytestringSplitter is now its own project. 2018-04-01 18:52:30 -07:00
Kieran R Prasch 7560fb8d10 adds pytest cache to gitignore 2018-02-13 17:48:55 -08:00
jMyles 19fd2c4343 This test is no longer needed with KFrag class. 2018-02-13 17:34:16 -08:00
jMyles 6eeb8ee546 Fixed kfrag test by rebuilding kfrag. 2018-02-13 17:31:35 -08:00
jMyles e0c50d473c Signatures are now made from 64 bytes, not 65. 2018-02-13 15:45:46 -08:00
jMyles 8f7edfe012 Old API tests, washed in crimson. 2018-02-13 15:45:34 -08:00
tuxxy d0bfd4ae0d WIP on rm-crypto: 2b73b14 Merge pull request #11 from jMyles/rm-crypto 2018-02-13 13:28:39 -07:00
jMyles 7551d79fd6 Constructing message_kit with Signature - we'll do this a better way soon. 2018-02-12 12:58:10 -08:00
jMyles 65940dd0fe Preparing to use UmbralPublicKey. 2018-02-09 20:44:16 -08:00
jMyles 67dd86534c You can init a Power with nothing now. 2018-02-09 13:05:23 -08:00
jMyles 12dc83f5b6 Creating KFrag for test in canonical way. 2018-02-07 16:30:03 -08:00
jMyles 50aca7d66f Reflecting new location for fragments. 2018-02-07 16:22:28 -08:00
jMyles 6d2c9e3d7b Reflecting deprecated crypto modules. 2018-02-07 02:16:45 -08:00
jMyles 0d964ca080 Removing various imports of the ole' fragments module. 2018-02-07 02:16:44 -08:00
jMyles ff04578dc3 CFrag and tests. 2017-12-04 17:17:13 -08:00
jMyles 1de9a97628 Tests use PFrag. 2017-12-04 16:27:08 -08:00
jMyles 4fab47cac3 Proper dunders with tests for kfrag retrieval and deserialization. Fixes #138. 2017-12-04 15:23:40 -08:00
jMyles e6556f54f1 Test for KFrag class compatibility with BytestringSplitter. 2017-12-04 13:08:40 -08:00
jMyles ad0eb40a4d PublicKey used for metadata instead of int literals throughout tests. Also some PEP8 cleanups and removal of type checks per #105. 2017-11-18 13:19:07 -08:00
jMyles ec8c225f7d Moved BytestringSplitter remainder logic to __call__; implemented throughout. 2017-11-11 18:00:32 -08:00
jMyles 3901f13750 Test showing that trying to split too many bytes raises ValueError. 2017-11-11 13:55:51 -08:00
jMyles 1f28a671fa BytestringSplitter now works with arbitrary types. 2017-11-11 13:50:51 -08:00
jMyles 1ed6e6d30b Test showing BytestringSplitter taking arbitrary bytes. 2017-11-11 13:21:24 -08:00
jMyles 4f803ba2df BytestringSplitter for #114. 2017-11-11 01:10:29 -08:00
jMyles 78aa5d4063 A sanity check for the len31 bug. 2017-11-04 10:52:43 -07:00
tuxxy 183ce12f09
Add test for test_ecies_ephemeral_split_rekey 2017-10-19 01:31:04 -06:00
tuxxy 48f75b798f
Add test test_ecies_gen_ephemeral_key in test_internal 2017-10-19 01:22:00 -06:00
tuxxy 447594e30c
Add empty test_internal.py 2017-10-19 01:04:31 -06:00
tuxxy 4ccdb92ed7
Use SigningKeypair.verify in test_signing 2017-10-17 14:52:42 -06:00
tuxxy 32baef1575
Add test TestSigningPower and fix SigningPower init params 2017-10-17 14:47:51 -06:00
jMyles 5566c6058e Removed alpha and added test for its removal. 2017-10-16 22:25:16 -07:00
jMyles 506f0f81cd Character encryption tests.
Note that CryptoPower.decrypt and Character.encrypt_for have fake logic until EncryptingPower is implemented.
2017-10-16 18:16:01 -07:00
tuxxy 84d183ba7c
Add tests and fix encrypt/decrypt issues 2017-10-16 14:10:56 -06:00
tuxxy ed47bdf79b
Add test_encrypting_power.py 2017-10-16 13:49:53 -06:00
tuxxy 27234dce73
Fix import errors 2017-10-16 13:39:46 -06:00
jMyles bf0f83b6ea Moving EncryptingKeypair over to powers. 2017-10-10 22:39:25 -07: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 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