Commit Graph

55 Commits (c7479c03e64eeeee686bfd4f680703fa0e9ce109)

Author SHA1 Message Date
tuxxy 95990bb839 Merge remote-tracking branch 'nucypher/master' into crypto-config 2018-04-05 17:59:23 -06:00
jMyles b3acaf50bc New verify_from() logic. Fixes #174.
Cleaning up and sanding kit and verify_from() logic.
2018-04-05 17:23:17 -06:00
jMyles 9c1e6c13cc cryptoKits is now its own project. 2018-04-05 17:23:17 -06:00
tuxxy 448e2d7223 Begin integration of KMS-Ethereum codebase into KMS 2018-04-05 17:21:23 -06:00
jMyles 11263663f3 Special value constants changed to constantSorrow; lengths adjusted. Also, new test for Signature comparison. 2018-04-05 10:23:28 -07:00
jMyles d3884518f2 Cleaning up and sanding kit and verify_from() logic. 2018-04-01 22:44:00 -07:00
jMyles f789aaf7f7 New verify_from() logic. Fixes #174. 2018-04-01 20:17:47 -07:00
jMyles 8d2bd2d77d cryptoKits is now its own project. 2018-04-01 18:50:53 -07:00
jMyles d35687907d Just use the keccak_digest function directly - this was never a good change really. 2018-02-28 17:37:27 -08:00
jMyles 139e767a2b All Characters need to know about Ursulas (and other information nodes if we ever run them). 2018-02-28 17:33:15 -08:00
jMyles 6fa7bd5823 Ursula's datastore now runs in a separate thread in all cases. 2018-02-28 17:32:19 -08:00
jMyles e1b4f242ab Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest. 2018-02-24 01:53:20 -08:00
jMyles 857a91855a We don't do lookup_actor anymore. 2018-02-24 01:45:50 -08:00
jMyles 872cef81a2 Smoothing out Powers; redlines through plenty of obselete functionality surrounding path keys in EncryptingPower. 2018-02-23 23:36:40 -08:00
jMyles f89d13c4a0 Seal -=> SignatureStamp 2018-02-23 22:39:10 -08:00
jMyles 1cdc0cad80 Some DHT cleanup. 2018-02-19 15:21:06 -08:00
jMyles dbac4ba586 Illegal keys are bytes, not str. 2018-02-18 17:34:38 -08:00
jMyles fd4accf3f5 Header lengths and types implemented in network. 2018-02-15 12:31:16 -08:00
jMyles 023d9705f0 Shortening headers to two bytes, and deprecating lstrip as a way to eat headers. See #111. Fixes #164. 2018-02-14 23:45:23 -08:00
jMyles 3b9ae94b5b Fixed those last two pesky tests - now that we're splitting with MessageKit, we don't need to split again. 2018-02-14 00:19:26 -08:00
jMyles 31dfbaa3e9 Moving over to MessageKit.to_bytes. 2018-02-14 00:18:31 -08:00
jMyles 5b9f4a2a7a More MessageKit flow for tmap. Also, unwrapped an extraneous if. 2018-02-13 11:13:07 -08:00
jMyles 5415184d0b More questioning of actor lookup. 2018-02-13 11:11:26 -08:00
jMyles 032abed046 Cleaning up the rest of the tests to use the new models. 2017-12-14 21:21:51 -08:00
jMyles 20bac0393f Tests shifting from Policy to Contract. 2017-12-14 21:21:27 -08:00
jMyles ac10e6a3da Merge commit for various Policy and testing Work after PRs are merged. 2017-12-13 10:41:55 -08:00
jMyles 21c18ea5f8 Tests reflect publish_treasure_map living on PolicyGroup. 2017-12-13 10:33:34 -08:00
jMyles 699ec37f03 TreasureMap setting fixture implemented in a few tests. 2017-12-07 20:41:26 -08:00
jMyles 7a525b801e Move Alice REST test to proper module. 2017-12-04 17:17:28 -08:00
jMyles 167ee66aa0 Changing fixture 'fake_ursulas' to just 'ursulas'. 2017-11-21 22:06:52 -08:00
jMyles ceae904822 Tests with Bob getting the signature from Alice properly. 2017-11-21 22:03:31 -08:00
jMyles 0084b14a3d OK, fixtures are implemented in the tests that need them. 2017-11-21 20:22:16 -08:00
jMyles c44a46e416 Proper test fixtures. Phew! It was a brain-twister getting this right. 2017-11-21 20:19:31 -08:00
jMyles ae49b28249 Moving PolicyGroup creation to test fixture format. 2017-11-21 16:27:21 -08:00
jMyles 4ff94f385b Ursula can't just willy-nilly spin up an in-memory db anymore. 2017-11-21 12:04:33 -08:00
jMyles 8bd1e616d1 Showing that policy was transmitted via REST made it to Ursula's KeyStore. 2017-11-20 19:50:51 -08:00
jMyles ac33d5eb4e Making sure that uri is unique for each execution. 2017-11-20 19:24:03 -08:00
jMyles 763bece3da Tests for Bob's invovlement in Policy. 2017-11-18 13:33:31 -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 d23f10bfe7 Using HRAC and dht_value_splitter in tests. 2017-11-11 17:45:33 -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
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 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
jMyles f704f93cbe KeyPairBasedPower to reuse logic for powers based on keypairs. 2017-11-07 12:51:30 -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