Commit Graph

9357 Commits (c6b2ace28b6da89e25b8361c9c7160c304608821)

Author SHA1 Message Date
Bogdan Opanchuk 1a10ddf7e7 Remove `EncryptedTreasureMap` datastore model 2021-09-08 08:55:49 -07:00
Bogdan Opanchuk bb31fac083 Remove the unused Bob.matching_nodes_among() and related machinery/tests 2021-09-08 08:23:46 -07:00
Bogdan Opanchuk 8517942c49 Fix error message in `_request_reencryption()` 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 074d44a750 Make treasure map a required CLI argument 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 1428a3d4aa Remove hardcoded redundancy, fix allow_missing calculation 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 66175a04da Rename Bob.retrieve_cfrags()/retrieve() to avoid confusion with RetrievalClient.retrieve_cfrags() 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 39dcab3aa1 Ensure enough Ursulas are available before retrieval 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk a9cc13e825 Move retrieval machinery to network/retrieval and revocation to policy/revocation 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 1ad868bf41 Remove internal cfrag cache from Bob 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk da816586fa Remove "enrico" as a parameter to Bob.retrieve(); make "policy_encrypting_key" mandatory. 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 0f85435ac7 Require encrypted_treasure_map in retrieve() 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 5632d523c4 Minor RFCs 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 1d3642d960 Retrieval rework 2021-09-08 08:21:03 -07:00
Bogdan Opanchuk a338ff1a69 Don't return the signature along with the MessageKit from MessageKit.author() 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 60c79553d2 Make encrypt_and_sign() a classmethod of MessageKit 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 41ae6dbcca Move message kits to policy submodule 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 161bb8f06d Use __bytes__ instead of to_bytes() in MessageKit 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 3ef534b812 Rename PolicyMessageKit to MessageKit 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 0b697881a1 Move TLSHostingPower to powers.py
To avoid circular dependencies
2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 3b43eac717 Remove UmbralMessageKit alias 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 17353ddf55 Fix some remainders of `m` and `n` 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk 9d2d36cbf3 Remove an unused parameter from TreasureMap.construct_by_publisher() 2021-09-07 11:58:55 -07:00
Bogdan Opanchuk d5851eb910 Add a newsfragment for #2730 2021-09-07 11:58:54 -07:00
KPrasch db8c49f395
Merge pull request #2786 from derekpierre/events-path
Fix creation of filepath for output of events to csv file
2021-08-28 10:28:22 -07:00
derekpierre 86339a54c6 Add newsfragment for #2786. 2021-08-27 15:03:02 -04:00
derekpierre d6e6d22288 Return Path instead of str when generating filepath for output of events from status & stake cli commands. 2021-08-27 15:01:03 -04:00
derekpierre 56fdf113b6 Code cleanup. 2021-08-27 11:12:03 -04:00
derekpierre 7a2279099d Add newsfragment for #2785. 2021-08-27 11:11:57 -04:00
derekpierre 0d3388f7d7 Ensure that prometheus collectors do not hold references to contract agents.
Update cached from_block for EventMetricsCollectors before running potentially long running execution task to improve concurrency handling.
2021-08-26 12:23:59 -04:00
Derek Pierre bcd6071e3d
Merge pull request #2772 from piotr-roslaniec/handle-missing-ursulas
Porter - return meaningful error if there are not enough Ursulas
2021-08-26 09:19:53 -04:00
derekpierre 2620d55df6 Respond to RFCs for #2772. 2021-08-25 19:53:30 -04:00
derekpierre 731013aa92 Add special case for WorkerPoolExceptions in WebController to handle response message - ensure WorkerPoolExceptions provide access to relevant data. 2021-08-25 19:53:30 -04:00
derekpierre 8b748dea52 Allow WorkerPool failure tracebacks to accessed directly from the exceptions raised. If callers need more context they can use the get_tracebacks() function on the exception to obtain all execution failure tracebacks. 2021-08-25 19:53:27 -04:00
Piotr Roslaniec 388be8ffd3 Add a newsfragment 2021-08-25 19:52:11 -04:00
derekpierre aa8df5ea2a Fixed failing concurrency tests. 2021-08-25 19:52:11 -04:00
derekpierre e513e67d0a Improve messaging from WorkerPool - clarity and wordiness - and improve exception logging for web controllers. 2021-08-25 19:52:08 -04:00
piotr-roslaniec bb3b3203fe Update nucypher/utilities/porter/porter.py
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2021-08-25 19:49:54 -04:00
Piotr Roslaniec 289e1faed1 Update error messages 2021-08-25 19:49:52 -04:00
Piotr Roslaniec 1dd5eb854e Return meaningful error if there are not enough Ursulas 2021-08-25 19:46:17 -04:00
KPrasch 3200ef05fc
Merge pull request #2780 from KPrasch/unstorage
Deprecate treasure map publication and storage
2021-08-25 15:51:20 -07:00
Kieran R. Prasch a3f8df66fc RFCs for PR #2780 pt. II 2021-08-25 12:08:35 -07:00
Kieran R. Prasch 18c9f849b7 Respond to RFCs in PR #2780; Additional map publication removals. Middleware raises detailed 400-level exceptions. 2021-08-23 20:57:18 -07:00
KPrasch b3572c7b65
Merge pull request #2742 from KPrasch/byok
Bring your own key material
2021-08-23 11:47:11 -07:00
Kieran R. Prasch 11566990bd Respond to RFCs in PR #2742 2021-08-23 07:53:10 -07:00
Kieran R. Prasch f89aa18c6b Newsfragment for PR #2742. 2021-08-23 07:53:10 -07:00
Kieran R. Prasch a9022379d1 Support key material importing by Alice, Bob, ans Ursula via CLI. Emit a warning when doing so. 2021-08-23 07:53:09 -07:00
Kieran R. Prasch 8e4c7c1594 Renames secret_key -> key_material for CLI BYOK. 2021-08-23 07:51:19 -07:00
Kieran R. Prasch 0d5123f8d6 Allow importing of custom keystore entroy blob by ursula init CLI and Keystore API. 2021-08-22 15:51:15 -07:00
Kieran R. Prasch f64dca21bb Introduce --treasure-map CLI flag to the Bob CLI. 2021-08-22 10:12:52 -07:00
Kieran R. Prasch d179d35b90 Pass the treasure map to Bob.retrieve in examples. 2021-08-20 16:59:41 -07:00