Commit Graph

731 Commits (100e7478b650e3ec06292b414c18e725ba017338)

Author SHA1 Message Date
Tux 7d97a6c503
Merge pull request #117 from tuxxy/frag-keystore
Add KeyFrag to KeyStore
2017-11-15 10:18:19 -07:00
tuxxy 8906d89450
Use BytestringSplitter for kFrag in KeyStore 2017-11-14 16:26:06 -07:00
tuxxy c18a2a6cbd
Add RekeyFrag id length and key length to constants 2017-11-14 15:45:43 -07:00
tuxxy 9fb0aad603
Add test for test_keyfrag_sqlite 2017-11-11 18:35:39 -08:00
tuxxy 891cf32a2a
Merge branch 'master' of github.com:nucypher/nucypher-kms into frag-keystore 2017-11-11 18:22:07 -08:00
tuxxy 7b46a20aac
Add sig param to get_kfrag 2017-11-11 18:21:05 -08:00
Justin Holmes 1aa50deeec
Merge pull request #116 from jMyles/bytesplitting
Bytesplitting
2017-11-11 18:16:46 -08:00
jMyles ec8c225f7d Moved BytestringSplitter remainder logic to __call__; implemented throughout. 2017-11-11 18:00:32 -08:00
jMyles f643e0cd2b Using HRAC and dht_value_splitter for characters. 2017-11-11 17:46:27 -08:00
jMyles 72ffa361a4 BytestringSplitter is now allowed to give back the remainder. 2017-11-11 17:46:00 -08:00
jMyles d23f10bfe7 Using HRAC and dht_value_splitter in tests. 2017-11-11 17:45:33 -08:00
jMyles f19a581602 Raise error if Signature is wrong length. 2017-11-11 17:43:55 -08:00
jMyles 49015c4682 dht_value_splitter for reuse. 2017-11-11 17:43:33 -08:00
jMyles ee3170de32 Imlement HRAC in protocols. 2017-11-11 17:43:06 -08:00
jMyles 3dda083b71 New constants for use with BytestringSplitter. 2017-11-11 17:39:47 -08:00
jMyles 53a0450bf5 Added dunders to Seal for concat'ing. 2017-11-11 15:49:15 -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 7e43f3caad More thorough implementation of Signature throughout. 2017-11-10 23:36:21 -08:00
Justin Holmes 37e8f50431
Merge pull request #115 from jMyles/signature
Signature tests pass.
2017-11-10 16:41:05 -08:00
tuxxy b1c27c18b8
Implement keystore kFrag methods add/del/get 2017-11-10 16:34:50 -08:00
jMyles e0f9995e4c Casting Signature to bytes for msgpack. Better to concat it in the future - see #114. 2017-11-10 16:29:28 -08:00
tuxxy 215b28e113 Return Signature object from SigningPower.sign 2017-11-10 16:18:18 -08:00
Justin Holmes ccd7cadd33
Merge pull request #110 from jMyles/policy
Complete TreasureMap and Interface sharing on the DHT, with stop-propagation of illegal DHT keys.
2017-11-10 16:14:17 -08:00
jMyles 1ca86f5b71 ttl is now an attr instead of a method. 2017-11-10 15:55:54 -08:00
jMyles 48174e722e Implemented HRAC; pruned some other legacy code. 2017-11-10 15:34:52 -08:00
jMyles 49f99fc640 Added Bob's public key to secret part of TreasureMap DHT key. Also lots of sanding / code simplification. 2017-11-10 10:47:07 -08:00
jMyles b66eccb251 Working stop-propagation for both Ursula interfaces and TreasureMaps. 2017-11-10 02:04:01 -08:00
jMyles 4d1d899a04 Wanting to use @tuxxy's Signature class a little early. :-) 2017-11-10 00:11:45 -08:00
tuxxy 93de923ae0
Fix capitalization in KeyFrag model 2017-11-09 17:26:07 -08:00
tuxxy a32907e38a
Add KeyFrag db model 2017-11-09 17:03:01 -08:00
jMyles f88c182bd9 Test showing stop-propagation for illegal TreasureMap ID - see #109. 2017-11-09 16:23:38 -08:00
jMyles b312449895 Tests rewritten in narrative order with docstrings. 2017-11-09 16:23:38 -08:00
jMyles 6a5d0da4bf Test organization: moved utility functions to their own module. 2017-11-09 16:23:38 -08:00
tuxxy 427333d6b9
Implement the Signature class 2017-11-09 14:06:43 -08:00
tuxxy c403813411
Add Signature placeholder class 2017-11-09 13:23:23 -08:00
Justin Holmes ecc7d436c4
Merge pull request #107 from jMyles/policy
Bob can now follow treasure map and get Ursula instances.
2017-11-07 14:52:53 -08:00
jMyles 19aab328d0 Bob can now follow treasure map and get Ursula instances. 2017-11-07 14:25:03 -08:00
jMyles ce4dc0c936 Merge remote-tracking branch 'tux/reconstruct_key' into policy 2017-11-07 14:18:06 -08:00
tuxxy 1b7725023d
Add test for serializing and deserialzing key 2017-11-07 14:13:45 -08:00
tuxxy 363dc0a402
Call deserialize_key in Keystore.get_key
Fix some errors
2017-11-07 14:10:03 -08:00
tuxxy 32b812e6aa
Add deserialize_key staticmethod to Keypair 2017-11-07 14:05:54 -08:00
jMyles f704f93cbe KeyPairBasedPower to reuse logic for powers based on keypairs. 2017-11-07 12:51:30 -08:00
Justin Holmes cab5b642a6
Merge pull request #103 from jMyles/policy
TreasureMap now contains real Ursula interface IDs.
2017-11-06 21:27:55 -08:00
jMyles 10f3fc8e6c TreasureMap now contains real Ursula information. Fixes #59. Fixes #64. 2017-11-06 20:42:21 -08:00
jMyles 4c8d925b8a TreasureMap legitimacy test. 2017-11-06 18:11:03 -08:00
Justin Holmes 2155f09fae
Merge pull request #102 from jMyles/policy
Ursula now saves interface info in her own DHT instance.
2017-11-06 18:10:39 -08:00
jMyles 2581c579e3 Fixes #98. 2017-11-06 13:44:59 -08:00