Commit Graph

476 Commits (d49eb130af6b88443494b5ee23afe374c6afe35a)

Author SHA1 Message Date
jMyles d49eb130af Ursula now sets interface info using public key, providing signed interface info. Other Ursulas refuse to propagate unless this info is correct. 2017-11-05 19:30:03 -08:00
jMyles 745e5a43b4 Beginning of verifying Ursula's interface. 2017-11-05 19:30:03 -08:00
jMyles 4dc146b2d6 Rudimentary server and client w/ cert generation and TLS. 2017-11-05 19:30:03 -08:00
jMyles bd599a8b67 First semblance of Twisted TLS upgrade. 2017-11-05 19:30:03 -08:00
jMyles 2d321f230d Verify method described in #99. 2017-11-05 19:30:03 -08:00
Justin Holmes a10bdccc12
Merge pull request #97 from tuxxy/fingerprint
Make get_fingerprint an instance method
2017-11-04 17:18:14 -07:00
Justin Holmes 796e7e622f
Merge pull request #96 from jMyles/master
A sanity check for the len31 bug.
2017-11-04 17:03:44 -07:00
Justin Holmes 981bf29e4c
Merge pull request #89 from jMyles/tls
Ursula now stores interface on DHT.
2017-11-04 17:03:28 -07:00
jMyles 78aa5d4063 A sanity check for the len31 bug. 2017-11-04 10:52:43 -07:00
tuxxy a44117931d Make get_fingerprint an instance method 2017-11-03 20:20:09 -06:00
jMyles d2b0e364e1 Ursula now reports IP via K:V store. Hacky workaround for #95. 2017-11-03 18:37:27 -07:00
jMyles eb2382e763 Pursuant to #93, changes to K:V for Alie to lookup Ursula. This commit demonstrates one of the problems described in #95. 2017-11-03 18:37:27 -07:00
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
Tux 90e9441f7b
Merge pull request #94 from tuxxy/sqlite
Implement SQLite for KeyStore
2017-11-02 18:39:21 -07:00
tuxxy 0ae3e92432
Add SQLAlchemy to Pipfile 2017-11-02 18:21:08 -07:00
tuxxy 398bba06f7
Merge branch 'sqlite' of github.com:tuxxy/nucypher-kms into sqlite 2017-11-02 18:19:32 -07:00
tuxxy f9de664c6d
Set secure_delete pragma 2017-11-02 18:19:26 -07:00
Tux ac0547f020
Merge branch 'master' into sqlite 2017-11-02 17:54:03 -07:00
Tux 80bfc250f8
Merge branch 'master' into sqlite 2017-11-02 17:53:27 -07:00
tuxxy 009d32ce66
Implement SQLite and remove lmdb 2017-11-02 17:50:09 -07:00
tuxxy a5ad9d3300
Add tests for sqlite 2017-11-02 17:10:06 -07:00
tuxxy e2fd18dfc9
Add __init__ and get_fingerprint methods to models.Key 2017-11-02 17:00:42 -07:00
tuxxy a855e05e6a
Add Key model to keystore.db.models 2017-11-02 16:45:16 -07:00
tuxxy acc6467b4d
Add empty models.py 2017-11-02 16:11:53 -07:00
tuxxy b8be897934
Add declarative base to db.__init__ 2017-11-02 16:10:58 -07:00
Justin Holmes 0d004bd74b
Merge pull request #91 from jMyles/master
Removing test datastore from VCS.
2017-10-27 14:45:51 -07:00
jMyles 6a678ba5de Removing test datastore from VCS. 2017-10-27 14:03:51 -07:00
tuxxy bec04ef34a
Add __init__ for db module in keystore 2017-10-26 14:38:48 -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