Commit Graph

450 Commits (41b6642b6d8c56248b9ddcd0010422adf4f03fee)

Author SHA1 Message Date
jMyles 41b6642b6d Msgpacking encrypted message. 2017-11-03 18:37:27 -07:00
jMyles 5b570b046e Very close to complete Ursula -=> Bob flow for treasure map, but strange error when trying to run coroutine. 2017-11-03 18:37:27 -07:00
jMyles 83058d0211 Fairly reasonable shape for Bob-=>Ursula discovery/upgrade. 2017-11-03 18:37:27 -07:00
jMyles 991a2279d5 Uses de/serialization from umbral. 2017-11-03 18:37:27 -07:00
jMyles a20d8b06de Temporary serialization logic. 2017-11-03 18:37:27 -07:00
jMyles 17adc4c566 More test re-organization. Shows failure of ec.serialize. 2017-11-03 18:37:27 -07:00
jMyles a07e082e6a Working toward policy payload for use over network. 2017-11-03 18:37:21 -07:00
jMyles 6a678ba5de Removing test datastore from VCS. 2017-10-27 14:03:51 -07:00
Justin Holmes 6cb8d4fa39 Merge pull request #83 from tuxxy/rekey-api
Rekey api
2017-10-23 14:28:22 -07:00
tux 0ae9d007c8 Implement generate_rekey_frags method on Alice
This doesn't include a test for this function. This is basically a tiny
wrapper around the crypto api for generating the key frags.

I'll leave it to JMyles to implement this how he wants.

Fix syntax error

Skip erroring test
2017-10-23 14:20:15 -07:00
Justin Holmes c9b95cd5a9 Merge pull request #87 from tuxxy/KeyNotFound-error
Implement KeyNotFound Exception
2017-10-23 13:57:13 -07:00
tuxxy 583d9a3962 Use better error message 2017-10-23 13:44:30 -07:00
tuxxy d7dc6f06bc Check for KeyNotFound error in tests 2017-10-23 13:38:06 -07:00
tuxxy 058c1206a6 Raise KeyNotFound when no key is located in lmdb 2017-10-23 13:38:06 -07:00
tuxxy 08ebcf3c4b Add KeyNotFound exception class 2017-10-23 13:38:06 -07:00
Justin Holmes 23fe9dffdb Merge pull request #84 from tuxxy/keystore
Implement lmdb in KeyStore
2017-10-23 11:32:54 -07:00
tuxxy 010331108a Skip the client test for now 2017-10-23 11:20:43 -07:00
tuxxy d01e6e1bae
Add tests tesT_lmdb_keystore 2017-10-20 16:20:53 -06:00
tuxxy 6cca4d2b27
Convert the keypair_byte and the key_type_byte to actual bytes 2017-10-20 16:20:36 -06:00
tuxxy 37cf1af935
Return None if no key exists 2017-10-20 16:05:09 -06:00
tuxxy 0ae8d4ffa6
Fill out del_key 2017-10-20 15:46:56 -06:00
tuxxy 9070679f2e
Fill out get_key and add_key 2017-10-20 15:44:47 -06:00
tuxxy 0855bd5972
Add serialization methods for the keystore keypairs 2017-10-20 15:32:51 -06:00
tuxxy 84b9375179
Fill out __init__ and __del__ for KeyStore 2017-10-20 15:28:32 -06:00
tuxxy 2a1110e2c9
Add constants for keypair type bytes 2017-10-20 15:28:03 -06:00
tuxxy 183ce12f09
Add test for test_ecies_ephemeral_split_rekey 2017-10-19 01:31:04 -06:00
tuxxy e6240486a9
Fill in ecies_ephemeral_split_rekey 2017-10-19 01:25:53 -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 fd54c6bf38
Fill out _ecies_gen_ephemeral_key 2017-10-19 01:04:02 -06:00
tuxxy ec3f95e62f
Add placeholder function _ecies_gen_ephemeral_key to _internal.py 2017-10-19 00:59:50 -06:00
tuxxy a81b6e0f23
Add empty _internal.py
This is a place for interal cryptographic functions and possibly
functions that may make it into the core cryptographic api.
2017-10-19 00:51:18 -06:00
tuxxy c9b35967b4
Add placeholder for ecies_ephemeral_split_rekey 2017-10-19 00:48:13 -06:00
jMyles 24b1f4fa92 Bringing policy logic back in line with protocol with new crypto tooling. 2017-10-18 15:48:20 -07:00
jMyles b5033e32f6 Lots of housekeeping on various Alice <=-=> Ursula activity in policy. 2017-10-18 15:48:11 -07:00
jMyles 8f3e379ae4 Policy now raises Ursula.NotFound if we havne't found an Ursula yet. 2017-10-18 15:48:11 -07:00
Justin Holmes a0b3c5d8ce Merge pull request #81 from jMyles/ops
Signed up for codecov; adding repo comaptibility.
2017-10-17 19:27:34 -07:00
jMyles b67f5b5d0d It appears that pytest has its own way of specifying source to measure. 2017-10-17 19:12:06 -07:00
jMyles 334c7807ad Let's see how the graph changes if we only cover nkms. 2017-10-17 18:44:37 -07:00
jMyles b90da13470 Adding .coverage to .gitignore. 2017-10-17 18:01:44 -07:00
jMyles a3640c9dae Signed up for codecov; adding repo comaptibility. 2017-10-17 17:59:12 -07:00
Justin Holmes a8b4f975f2 Merge pull request #80 from tuxxy/signing-power
Implement SigningPower
2017-10-17 16:46:02 -07:00
tuxxy 09b442d5a3
Use SigningPower instead of SigningKeypair in test_crypto_characters_and_their_powers
Use SigningPower instead of SigningKeypair correctly

Use correct SigningPower
2017-10-17 16:01:59 -06:00
tuxxy 9bc43c88e4
Use SigningPower instead of SigningKeypair in characters 2017-10-17 15:01:25 -06:00
tuxxy 67b1225cef
Add tests test_ecdsa_keypair_signing and test_ecdsa_keypair_verification 2017-10-17 14:59:25 -06:00
tuxxy 4ccdb92ed7
Use SigningKeypair.verify in test_signing 2017-10-17 14:52:42 -06:00
tuxxy 2a3e6fcdc3
Add verify method to SigningKeypair 2017-10-17 14:51:00 -06:00
tuxxy 32baef1575
Add test TestSigningPower and fix SigningPower init params 2017-10-17 14:47:51 -06:00
tuxxy b28d66374c
Add sign method in SigningKeypair call it in SigningPower 2017-10-17 14:25:56 -06:00
tuxxy d89fd7cf31
Add test test_keypair_object to test keypair intialization 2017-10-17 14:13:12 -06:00