Commit Graph

34 Commits (2cd7698da722a5585885773c8cf46e053275b66a)

Author SHA1 Message Date
derekpierre 2cd7698da7 Fix failing tests with respect to treasure map needed for bob's retrieve endpoint. 2021-09-14 15:58:08 -04: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 0f85435ac7 Require encrypted_treasure_map in retrieve() 2021-09-08 08:21:04 -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 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 3b43eac717 Remove UmbralMessageKit alias 2021-09-07 11:58:55 -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 024bcb1c5f Finish deprecation of map storage from tests. 2021-08-20 16:58:58 -07:00
Bogdan Opanchuk 6164137610 Rename m -> threshold, num_kfrags -> shares 2021-08-20 19:26:56 -04:00
Bogdan Opanchuk caf32842b3 RFCs 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 2be3d727d5 Rename TreasureMap field and datastore model to EncryptedTreasureMap 2021-08-19 17:06:45 -04:00
Bogdan Opanchuk e5c0bb079e Fix the remainders of Alice/Publisher separation 2021-08-12 16:32:02 -07:00
derekpierre e83128fd91 One potential solution for contextualizing federated vs non-federated treasure maps provided as bytes in the `/publish_treasure_map` endpoint.
The context information is provided either at construction time of the TreasureMap field, or via the parent Schema context.
2021-07-26 15:14:42 -04:00
jMyles 39d322909d Standardizing message signatures sizes in logic as a constant. 2021-07-03 18:46:50 -07:00
jMyles b1ff1077cd Seems like we want to revoke the same policy that's made in this test here. 2021-07-03 18:46:50 -07:00
jMyles 993a4265c7 Needs to be 65 bytes, not 64. 2021-07-03 18:46:50 -07:00
Kieran Prasch 94217c43d3 tests passing 2021-07-03 18:46:37 -07:00
Kieran Prasch e13fae0526 Combating freefriders and evil Bobs with a KFrag writ authorization. 2021-07-03 18:46:36 -07:00
Bogdan Opanchuk 15333ddca2 Dissolve umbral_adapter 2021-06-17 14:38:51 -07:00
vzotova 3136a97aa6 Fix other tests 2021-03-22 11:37:27 -07:00
Bogdan Opanchuk a2b99daa1d Merge proposals and enactment into a single method, return EnactedPolicy 2021-01-14 11:19:35 -08:00
jMyles 1415843f89 Treasuremap: Decentralized -=> Signed. 2020-09-05 11:46:34 -07:00
jMyles 24bc71be6e Give Bob a chance to hit seednodes before bailing. 2020-08-27 13:16:36 -07:00
jMyles 6498992f61 Deduplicating test; moving json validation utils to utils. 2020-08-24 09:42:15 -07:00
jMyles 5f3eca5b4b Divide cli lifecycle tests into federated and decentralized in order to keep Ursula cache separated. 2020-08-10 12:52:31 -07:00
jMyles a0db5ffb15 Moving federated tests into their own module to keep the cache cleaner. 2020-08-10 12:52:30 -07:00
jMyles fc3e105e54 Decentralized Alice controller test needs, you guessed it, DecentralizedTreasureMap. 2020-08-10 12:42:17 -07:00
jMyles 1a20bbb151 Including a fake signature for the test. 2020-08-10 12:42:17 -07:00
Kieran Prasch 5909c37dd1 Apply API and interface updates to for enrico file handling. 2020-06-18 08:55:21 -07:00
damon 1409bb2a61
more test fixes message->plaintext 2020-06-17 11:33:24 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00