Commit Graph

9469 Commits (2d1b37f9aa88845f4cf087f0f9dacb6f8bb0c11a)

Author SHA1 Message Date
Kieran Prasch 1786cfa279 Cleanup docstring of fetch_policy_arrangements. 2021-07-03 18:42:40 -07:00
Kieran Prasch 92743d6a30 Restore client-side freerider handling, but inside map publisher. Remove publication transaction from policy method signatures. 2021-07-03 18:42:38 -07:00
Kieran Prasch ca42bd2e1d Used a namedtuple for handling ArrangementInfos 2021-07-03 18:41:01 -07:00
Kieran Prasch a3416935fb Breakout policy verification to worker methods. 2021-07-03 18:41:01 -07:00
Kieran Prasch dd51b0b3cd Additional Commentary 2021-07-03 18:41:00 -07:00
Kieran Prasch a22b403a08 Partial tets update for modified map and order handling; Continue handling of publisher/authorizer keys. 2021-07-03 18:40:10 -07:00
Kieran Prasch 9daa51aa09 Expands data included in WorkOrder serialization for KFrag inclusion. 2021-07-03 17:57:17 -07:00
Kieran Prasch 6c29fd05c9 Use a unified method of MessageKit bytes serialization; remove '__bytes__'. 2021-07-03 17:55:33 -07:00
Kieran Prasch 8c12304944 Breakout Bob.retrieve logic into helper methods. 2021-07-03 17:54:43 -07:00
Kieran Prasch e6319c0cc2 Use a namedtuple subclass for handling onchain policy records. 2021-07-03 17:50:43 -07:00
Kieran Prasch 2b299cf993 Sing-along with david - use HRAC for workorders. 2021-07-03 17:50:43 -07:00
David Núñez f1a24c6865 Get rid of the KFrag storage step, both in server and client 2021-07-03 17:50:43 -07:00
David Núñez fed1b4aba8 Let's go for the moment with TMaps with KFrags and Arrangement IDs 2021-07-03 17:50:43 -07:00
David Núñez 9837dde869 Include encrypted KFrag in WorkOrder serialization 2021-07-03 17:50:43 -07:00
David Núñez 0f8ff08ec9 Let's keep the arrangement IDs in the TreasureMap for the moment
Careful, don't scare the unit tests...
2021-07-03 17:50:43 -07:00
David Núñez cdb825bdbc Bob includes the encrypted KFrag in the WorkOrder, which we previously used in Ursula's side to get the Kfrag from the re-encryption request 2021-07-03 17:50:43 -07:00
David Núñez c4d2aa8ff1 Clarify indexing of known nodes during WorkOrder construction 2021-07-03 17:50:43 -07:00
David Núñez 589703d4cc Logic for optional TreasureMaps when retrieving was flawed and unused 2021-07-03 17:50:43 -07:00
David Núñez d2878aa124 Re-encrypt using a KFrag provided in the request
Updated both server and client sides.
2021-07-03 17:50:41 -07:00
David Núñez 7a090c19f3 Instead of storing arrangement IDs in the TMap, stored encrypted KFrags 2021-07-03 17:48:44 -07:00
David Núñez 02608af55a How come we didn't have a basic unit test for TreasureMaps? 2021-07-03 17:47:34 -07:00
David Núñez 8f31b17f3e Very rough versioning of TreasureMaps
We will transition to a better serialization approach (e.g., protobuf) so versioning is simpler to manage
2021-07-03 17:47:34 -07:00
David Núñez 11052a6124 DecentralizedTreasureMaps were renamed SignedTreasureMaps a while ago 2021-07-03 17:47:32 -07:00
KPrasch 527d4142c6
Merge pull request #2701 from KPrasch/keyring-v2
Deterministic Keystore
2021-07-03 16:46:40 -07:00
Kieran R. Prasch 79e5d773ae Respond to RFCs in PR #2701: Renames HKDF info strings. 2021-07-03 15:53:10 -07:00
KPrasch 818ac62560
Merge pull request #2731 from derekpierre/news
Update newsfragment README file to include 'removal' type
2021-07-03 15:30:36 -07:00
KPrasch cb1fd06211
Merge pull request #2728 from vepkenez/just-stop-or-not
Cloudworkers: ignore errors on stopping of ursula containers
2021-07-02 22:00:06 -07:00
Kieran R. Prasch eeff423c95 Stub for keystore versioning. 2021-07-02 20:00:10 -07:00
Kieran R. Prasch 669dd79dd7 Use KDF from umbral for keystore power derivations. 2021-07-02 20:00:06 -07:00
Kieran R. Prasch 7ed52647f3 Use crypto.passwords module for handling password key derivations. 2021-06-30 16:49:31 -07:00
Kieran Prasch 8a54bd7e6d Post rebase cleanup for PR #2612; Umbral 0.2.x compatibility. 2021-06-30 15:14:10 -07:00
derekpierre 23955ccf5c Update newsfragment README file to include 'removal' type and clarify text. 2021-06-29 10:34:25 -04:00
Kieran Prasch 84d1e9b0c9 Additional newsfragment for the renaming of the keyring/keystore password enviorment variable. 2021-06-28 14:33:31 -07:00
Kieran Prasch 3253ab9694 Index node metadata by stamp instead of checksum address. Further decouples wallet address from node identity. 2021-06-28 14:33:31 -07:00
Kieran Prasch 53db75c246 Contruct TLS certificate filenames with the interface port to avoid duplicate/invalid. 2021-06-28 14:33:31 -07:00
Kieran Prasch e4594739a1 Update documentation to use Keystore and deprecate Keyring. 2021-06-28 14:33:31 -07:00
Kieran Prasch d5e9b2f90c Update deployment scripts to use Keystore and deprecate Keyring. 2021-06-28 14:33:31 -07:00
Kieran Prasch 0d3780466b Respond to RFCs in PR #2701 2021-06-28 14:33:31 -07:00
Kieran Prasch d9f655fc8a Newsfragment for PR #2701 2021-06-28 14:33:31 -07:00
Kieran Prasch 44a8715d1c Corrects inaccurate config fields 2021-06-28 14:33:31 -07:00
Kieran Prasch 44f535dbf7 Only Ursula uses interactive mnemonic generation via config. 2021-06-28 14:33:31 -07:00
Kieran Prasch 77dfef825d CLI keystore recovery for ursula. 2021-06-28 14:33:31 -07:00
Kieran Prasch b92d04ab00 Notify and interactively confirm mnemonic generation. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch efee48aaba Post-rebase cleanup; Remove stale exception. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch f0080b3e2e Minimally restore attachment of keystore 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 4f7bdf5c46 tests respect the Keystore API 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 37a944df44 Updating the codebase to follow the Keyring -> Keystore API. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch e3868df4d1 Handle TLS power derivation form keystore. 2021-06-28 14:33:31 -07:00
Kieran Prasch 82e81fc710 Deterministic power derivation from keystore. Iterating on keystore drafting. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 11a630066e Further deprecation of nucypher.crypto.api. 2021-06-28 14:33:31 -07:00