Commit Graph

215 Commits (d0f1821d82c36286c080b1809f3e80dc5b3aec94)

Author SHA1 Message Date
jMyles c7479c03e6 Fake address and PolicyAgent. 2018-04-07 22:03:25 -07:00
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 7f21117cb7 BytestringSplitter is now its own project. 2018-04-05 17:23:17 -06:00
jMyles b35e5b9840 Using constantSorrow for constants. 2018-04-05 17:23:17 -06:00
jMyles ef9b595147 Fixed mutable in method kwarg. 2018-04-05 17:23:17 -06:00
Kieran Prasch 485be636cd Builds upon KMSConfig classes, injecting subconfigurations, wallet, and keychain; adds make_powerup method skeleton. 2018-04-05 17:23:17 -06:00
tuxxy b6a061f129 Inherit PolicyAuthor on Alice 2018-04-05 17:22:19 -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 2a4d20c39f Better name for signature_to_use. 2018-04-05 10:14:40 -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 fc99ef2e27 BytestringSplitter is now its own project. 2018-04-01 18:52:30 -07:00
jMyles eb4605d573 Using constantSorrow for constants. 2018-04-01 18:52:08 -07:00
jMyles 22ab9b69bf Fixed mutable in method kwarg. 2018-04-01 18:48:43 -07:00
jMyles d289ac31e8 Updated Finnegan's Wake demo to use TLS. 2018-03-06 17:52:23 -08:00
jMyles 06c515c4bb Introducing Character.generate_self_signed_cert() and updated docstrings to match. 2018-03-06 17:49:18 -08:00
jMyles ad323ff4e2 Cleaned up TODOs, docstrings, and comments throughout the codebase. 2018-03-01 00:15:05 -08:00
jMyles a7317883da Other constructors now take powers_and_bytes so that an Ursula can be discovered with both a signing public key and an encrypting one. 2018-02-28 22:25:03 -08:00
jMyles 17bbf816cd Bob no longer tracks a single Alice as an attribute; instead, he tracks an Alice with each Policy. 2018-02-28 22:04:37 -08:00
jMyles 1b426fa54d Changed Bob's generated_work_orders to OrderedDict. 2018-02-28 17:40:49 -08:00
jMyles f4a98bf942 Touching up some tests a bit. 2018-02-28 17:40:49 -08:00
jMyles 7e567c24f6 Introducing named DBs per Ursula. 2018-02-28 17:37:27 -08:00
jMyles 93ada655ce Better launch logic - attach the server exactly once. 2018-02-28 17:37:27 -08:00
jMyles b2d3214162 Of course stamp can be a dict key. 2018-02-28 17:37:27 -08:00
jMyles 63d1e731c9 Ursula's ID is now just her Public Signing Key. 2018-02-28 17:37:26 -08:00
jMyles 990c03b65a Not sure how this ever worked - we need to call the hrac function. 2018-02-28 17:33:58 -08:00
jMyles 1caf764350 Bob was previously learning about some Ursulas more than once; no need for that. 2018-02-28 17:33:58 -08:00
jMyles 6aa0cb46d2 TreasureMaps are now attainble via the REST interface. 2018-02-28 17:33:58 -08:00
jMyles edad1d7148 dict interface for from_public_keys. 2018-02-28 17:33:53 -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 d5d8677cf3 We don't have policy groups anymore. 2018-02-28 17:32:19 -08:00
jMyles 56b5cae55f Some Bob logic to get off the DHT. 2018-02-28 17:32:19 -08:00
jMyles 82f3a0a949 We don't use NotFound anymore, but we do have more and more situations where Characters need to raise NotEnoughUrsulas. Let's put it on Character. 2018-02-28 17:32:19 -08:00
jMyles 3c00927e65 Moving Ursula's datastore access to a Threadpool. 2018-02-28 17:32:19 -08:00
jMyles 152ab56417 Touching up generate_kfrags docstrings. 2018-02-24 02:08:22 -08:00
jMyles f9833f7d0d Moved Ursula's REST bits to a new class. 2018-02-24 02:08:17 -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 87af827a68 Reducing the number of functions called generate_kfrags. 2018-02-24 01:44:14 -08:00
jMyles 0355191288 Character.decrypt() now also uses new power_ups interface. 2018-02-24 01:43:54 -08:00
jMyles 86b8169264 Moving `sign` into `Character`; cleaning up Powers. 2018-02-24 01:22:23 -08:00
jMyles c26f5e6d5b Better way to get public keys. 2018-02-24 01:13:40 -08:00
jMyles 62c8493840 Pushing generate_kfrags downward so as to make private key... private. 2018-02-24 00:49:40 -08:00
jMyles f42576e439 Major simplification of encrypt_for. 2018-02-24 00:48:56 -08:00
jMyles 3a9a8ed752 Don't need to lookup the actor any more. 2018-02-24 00:48:30 -08:00
jMyles f89d13c4a0 Seal -=> SignatureStamp 2018-02-23 22:39:10 -08:00
jMyles 9a5bdb4061 Don't need _contracts anymore. See #127. 2018-02-23 21:47:49 -08:00
jMyles c7d2d97d72 More cleanups throughout Character. 2018-02-23 21:41:54 -08:00
jMyles 78cf0b66de Better docstring and type hint for generate_kfrags. 2018-02-23 21:38:46 -08:00