Commit Graph

97 Commits (9853509716bc04ece06b24006fff07cd3c96b8e5)

Author SHA1 Message Date
derekpierre a653751d13 Document cleanup regarding retrieval results format, and improve testing for mutliple retrieval kits. 2021-09-17 11:12:48 -04:00
derekpierre 90408c1768 Publisher verifying key is no longer an argument for RetrievalClient - remove usage from Porter. 2021-09-14 15:58:08 -04:00
derekpierre eb48e82fc3 VerifiedCapsuleFrag cannot be deserialized, so rename marshmallow field to CapsuleFrag.
Improve retreive_cfrags test to ensure that the cfrags are valid and can successfully be used by Bob to decrypt the data.
2021-09-14 15:58:08 -04:00
derekpierre 3fd901ebf6 Update RetrievalKit field tests to be more robust; fix duplicate decryption of treasure map for tests. 2021-09-14 15:58:08 -04:00
derekpierre dfa65a2976 Code cleanup after rebase over retrieval protocol work in #2730. 2021-09-14 15:58:08 -04:00
derekpierre 001dd39ac2 Improve Porter retrieve_cfrags tests to ensure that capsules match in results. 2021-09-14 15:58:08 -04:00
derekpierre ff6b1bae98 Encrypted and Decrypted treasure map fields. 2021-09-14 15:58:08 -04:00
derekpierre 72de21fb08 Initial tests for BobRetrieveCFrags schema. 2021-09-14 15:58:08 -04:00
Bogdan Opanchuk 0f85435ac7 Require encrypted_treasure_map in retrieve() 2021-09-08 08:21:04 -07:00
Bogdan Opanchuk 1d3642d960 Retrieval rework 2021-09-08 08:21:03 -07:00
Bogdan Opanchuk c595850952 RFCs, part 2 2021-08-19 17:06:45 -04:00
Bogdan Opanchuk 509b8c1bfc Split treasure maps into decrypted and encrypted 2021-08-19 17:06:45 -04:00
Bogdan Opanchuk 279a647be0 Move ENCRYPTED_KFRAG_PAYLOAD_LENGTH into AuthorizedKeyFrag 2021-08-13 14:46:56 -07:00
Piotr Roslaniec 695cc10950 Detect paths during deserialization 2021-08-06 18:10:45 +02:00
derekpierre 463078ce0d Fix issues after TMapConKFrag rebase including how work orders are created and used for tests. exec_work_order tests now actually use /reencrypt ursulas endpoints. 2021-07-26 15:14:43 -04:00
derekpierre 1baa05ba3f Initial implementation of Porter '/exec_work_order' functionality and tests.
Some code refactoring.
2021-07-26 15:14:43 -04:00
jMyles 7c4cd47844 Partial restoration of the work to remove IndisputableEvidence and related concepts; it had been added back as part of a rebase to create a linear history. 2021-07-03 18:46:50 -07:00
Kieran Prasch e13fae0526 Combating freefriders and evil Bobs with a KFrag writ authorization. 2021-07-03 18:46:36 -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
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
Kieran Prasch 8a54bd7e6d Post rebase cleanup for PR #2612; Umbral 0.2.x compatibility. 2021-06-30 15:14:10 -07:00
Kieran R. Prasch 4f7bdf5c46 tests respect the Keystore API 2021-06-28 14:33:31 -07:00
Bogdan Opanchuk 6090a755b0 Gate the choice of Umbral implementation in a single file 2021-06-22 18:31:08 -07:00
Bogdan Opanchuk 15333ddca2 Dissolve umbral_adapter 2021-06-17 14:38:51 -07:00
Bogdan Opanchuk e6fcdbbff6 Minimal fixes to make CI pass, using an adapter for Umbral 2021-06-17 14:38:51 -07:00
Bogdan Opanchuk 26076b1d98 Remove IndisputableEvidence and related functions and tests 2021-05-18 13:14:04 -07:00
Piotr Roslaniec 58f37da94a Move TEACHER_NODES to nodes.py 2021-04-21 18:04:51 +02:00
vzotova ff627e89ec Migration test for StakingEscrow 2021-03-22 11:37:27 -07:00
Kieran Prasch 06d89fef07 ContractAdministrator is a BaseActor subclass. Respond to RFCs in PR #2572 2021-03-02 10:24:41 -08:00
Kieran Prasch 7e07bd267e Handle injected transacting power in tests. 2021-02-26 13:38:37 -08:00
Kieran Prasch 2ac8d276aa Respond to RFCs for PR #2536; Holdover for future work; Post rebase cleanup. 2021-02-18 18:35:56 -08:00
derekpierre 305bf0a7fb Added unit and integration tests for keyring. 2021-02-18 18:08:40 -08:00
Kieran Prasch 0b164b6df7 Test adjustments and code touch ups 2021-02-18 18:07:43 -08:00
Kieran Prasch 37774897bc Understand Ursula.run as the coordinated single point of service startup. 2021-02-18 18:06:31 -08:00
Kieran Prasch 4c0f679c7e Removes client_password from character init where possible, require signer to init a TransactingPower, removing default web3 signer. 2021-02-13 18:35:31 -08:00
Victoria 36e47153df Apply suggestions from code review #2518
Co-authored-by: K Prasch <kieranprasch@gmail.com>
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2021-02-02 19:24:29 +03:00
vzotova 61d8dc1ec0 New deployment order: StakingEscrow dispatcher, then PolicyManager+Dispatcher -> Adjudicator+Dispatcher -> WorkLock and only after this StakingEscrow itself 2021-02-02 19:24:28 +03:00
vzotova 546e84a653 Remove test mode from StakingEscrow 2021-02-02 19:24:27 +03:00
David Núñez d02f0ead7f Disable solidity compilation for MockBlockchain 2021-01-20 12:36:10 +01:00
damon c e907a598a2
Merge pull request #2462 from KPrasch/automagic
IP address checks on worker startup
2021-01-14 20:47:32 -08:00
Bogdan Opanchuk e635825c9e Remove unused mock classes 2021-01-14 11:19:35 -08:00
Kieran Prasch 8c9da43d10 Allow for settable rest host in --dev mode. 2021-01-12 13:10:15 -08:00
Kieran Prasch f35f2fcef3 Accmodate rest_host as a required Ursula init parameter for live nodes in test. 2021-01-12 13:10:15 -08:00
Kieran R. Prasch 2daa9b499d Closes #2424 2021-01-12 13:10:15 -08:00
Kieran Prasch a9d3b6cf1e Deprecation of automated deployment series by ContractAdministrator 2021-01-12 11:08:45 -08:00
Bogdan Opanchuk 2e0efe451e Use in-memory mock LMDB environment for most tests 2021-01-02 17:19:13 -08:00
Kieran Prasch 2eefc07d31
Deprecates internal geth process mode. 2020-12-09 17:39:42 -08:00
vzotova d58ca9a748 Remove duplicate code 2020-12-09 11:04:22 +03:00
Victoria a8f0ec5bc5 Apply suggestions from code review #2439
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: Kieran Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-12-03 18:39:44 +03:00
vzotova c7ec3c7ecb Fix predefined source bundles 2020-12-03 16:48:34 +03:00