Commit Graph

532 Commits

Author SHA1 Message Date
Ian Goldberg ecef59392b Fix the rust in a couple of places 2021-05-03 11:44:42 -04:00
Ian Goldberg fd73286e78 Complete the level upgrade protocol 2021-05-02 21:45:15 -04:00
Ian Goldberg aa097dc447 Change the policy for invites_remaining in the level up protocol
Before, the number of invitations at the new level were _added_ to a
user's credential.  Now, it _replaces_ the old value.
2021-05-02 18:10:59 -04:00
Ian Goldberg f7b3d242bb The request message of the level upgrade protocol 2021-05-01 22:26:13 -04:00
Ian Goldberg 5bfbccf193 Check the MACs on the Bucket Reachability credentials in the tests 2021-05-01 17:19:34 -04:00
Ian Goldberg ba13545b3c Create Bucket Reachability credentials and put them in buckets as appropriate 2021-05-01 17:13:40 -04:00
Ian Goldberg 33f3de3b68 Dates should just be u32, not u64 2021-05-01 15:33:45 -04:00
Ian Goldberg 8a19376edc Moved protocol modules into submodules of "proto" module instead of all being at the top level 2021-05-01 15:23:00 -04:00
Ian Goldberg ab864fae45 Handle the case where the migration table has illegal entries for some reason 2021-05-01 11:56:25 -04:00
Ian Goldberg 7f07951668 Don't forget to check the credential against the seen list 2021-04-30 16:44:53 -04:00
Ian Goldberg 83b12ff6f6 The complete migration protocol for the case of migrating from trust level 0 to trust level 1 2021-04-30 16:26:05 -04:00
Ian Goldberg 6013386f07 Handle the response of the trust promotion protocol to produce the Migration credential 2021-04-30 13:30:58 -04:00
Ian Goldberg 03de724a8c The response message of the trust promotion protocol 2021-04-30 11:59:17 -04:00
Ian Goldberg 2ffa2c6ab0 Check the proof in the request message of the trust promotion protocol 2021-04-29 21:25:00 -04:00
Ian Goldberg 53652914eb The request message of the trust promotion protocol 2021-04-29 18:22:57 -04:00
Ian Goldberg 9ed5d21586 Move unit tests to their own file 2021-04-29 16:12:53 -04:00
Ian Goldberg e7bb50ab2b Start on trust promotion
This is the protocol for the user to get promoted from untrusted (trust
level 0) to trusted (trust level 1).
2021-04-29 16:04:57 -04:00
Ian Goldberg b86973174a Fix up formatting of module doc comments 2021-04-29 14:58:51 -04:00
Ian Goldberg 450c62bfc7 Check that we can use the credential to read a bucket 2021-04-29 11:28:40 -04:00
Ian Goldberg 77b92036c7 Update the name of one test 2021-04-28 23:12:50 -04:00
Ian Goldberg 2791f0bf54 Handle the response of the open invitation protocol to produce the Lox credential 2021-04-28 23:03:29 -04:00
Ian Goldberg 75630d3ad0 Unit test for what's done of the open invite protocol so far 2021-04-28 18:50:35 -04:00
Ian Goldberg e9267f5b37 The response message of the open invitation protocol 2021-04-28 18:32:40 -04:00
Ian Goldberg 706f484606 The request message of the open invitation protocol 2021-04-28 15:43:25 -04:00
Ian Goldberg 996463d1c0 Start creating the bridge authority 2021-04-28 13:37:56 -04:00
Ian Goldberg 3ccd3087cf Start defining the credentials used by the system 2021-04-28 13:35:19 -04:00
Ian Goldberg 89b7fdf921 Unit test for the bridge table 2021-04-27 18:27:35 -04:00
Ian Goldberg beed9d95b2 A basic encrypted bridge table 2021-04-27 13:01:39 -04:00
Ian Goldberg f067c8b79a Use a custom enum instead of Result<(),()> in DupFilter 2021-04-27 12:59:29 -04:00
Ian Goldberg befacce4ef test for dup_filter module 2021-04-27 08:54:14 -04:00
Ian Goldberg 23d66aaae3 A simple duplicate filter for filtering shows of duplicate ids 2021-04-27 08:33:29 -04:00
Ian Goldberg e079a361ba A simple BridgeDb to create open invitations 2021-04-27 06:53:30 -04:00