Commit Graph

57 Commits

Author SHA1 Message Date
onyinyang 40f1e88a31
Add find_next_available_key function to prevent overwriting buckets 2023-08-02 10:11:46 -04:00
onyinyang d98ae40879
Fix formatting 2023-07-19 10:30:35 -04:00
onyinyang 607466b949
Clean up clippy fixes 2023-06-23 13:04:15 -04:00
onyinyang 69e4579450
Change encbuckets to HashMap with EncryptedBucket 2023-06-23 08:30:14 -04:00
onyinyang 610a579731
Fix up bridge_unreachable 2023-06-23 08:24:28 -04:00
onyinyang 0ede04164b
Fix up replace function, remove recyclable 2023-06-23 08:24:28 -04:00
onyinyang 607ecd89c7
Converting bridgetable vectors to HashMaps 2023-06-23 08:24:28 -04:00
onyinyang 221f490d26
Update lox-distributor to handle gone resources more correctly 2023-06-16 17:18:19 -04:00
Cecylia Bocovich 67639e2f11
Remove needless range loops 2023-06-16 15:59:11 -04:00
onyinyang 5ac0fc7bef
Fixup cargo imports to address stdweb issue 2023-06-07 16:02:02 -04:00
onyinyang 16ced3c5e0
Add other cargo fmt changes 2023-06-06 19:58:35 -04:00
onyinyang 8d0f570627
Adds test and fixes for allocate bridges 2023-05-15 18:57:23 -04:00
onyinyang 45bb5756df
Minor fixes 2023-05-15 12:53:32 -04:00
onyinyang 6bff64f283
Adds replace_bridge test and fixes bugs in the function 2023-05-15 12:32:22 -04:00
onyinyang 0d317cea8c
Fix replace bridge to align with changes to lox-distributor 2023-05-11 17:02:33 -04:00
onyinyang 508eaf3bdd
Add functions to recycle and allocate extra bridges 2023-05-09 13:00:40 -04:00
onyinyang 83c7916805
Added bridge replacement 2023-05-08 12:31:36 -04:00
onyinyang 11d4678be8
Update fingerprint to match UID from rdsys 2023-04-04 18:39:28 -04:00
onyinyang 362996c4f7
Add fingerprint field to Bridgeline 2023-04-03 11:47:11 -04:00
onyinyang a206917e92
Add update bridge function 2023-03-27 12:36:57 -04:00
onyinyang e257a05c99
Add bridge update 2023-03-23 13:21:04 -04:00
onyinyang f08520de84
Update function definition for bridge update 2023-03-23 11:00:10 -04:00
onyinyang 366111e28f
Add bridge_update stub 2023-03-20 12:33:26 -04:00
onyinyang fd4f715ad9
REVERT BEFORE USING: make BA today function, bridge_table public for testing 2023-02-28 12:01:00 -05:00
Vecna 3945ed5b60 Make BridgeAuth (de)serializable 2022-11-22 19:15:09 -05:00
Vecna 2cd4d96b73 Make BridgeDb (de)serializable 2022-11-14 13:56:13 -05:00
Vecna b607f3bc37 Make Issuer Keys (de)serializable. 2022-11-13 11:33:57 -05:00
Ian Goldberg a56ac87868 Change IssuerPubKey constructor to be more functional 2021-06-05 16:25:39 -04:00
Ian Goldberg 596cf10ea5 The complete blockage migration protocol 2021-05-05 18:22:32 -04:00
Ian Goldberg 74bae2cf8e The complete check blockage protocol 2021-05-05 16:29:25 -04:00
Ian Goldberg 27773123a3 Add a migration type attribute to the Migration credential 2021-05-05 15:25:56 -04:00
Ian Goldberg 0664dd7b45 API for adding bridges and marking them as unreachable 2021-05-05 14:00:07 -04:00
Ian Goldberg b0290f5480 Complete the redeem invitation protocol 2021-05-04 17:48:40 -04:00
Ian Goldberg dd505ccfd7 The request message of the redeem invitation protocol 2021-05-04 15:48:11 -04:00
Ian Goldberg d924b98060 The request message of the issue invitation protocol 2021-05-03 19:06:05 -04:00
Ian Goldberg 088071571a Change the invites_issued attribute of the Lox credential to just count blockages instead 2021-05-03 14:27:11 -04:00
Ian Goldberg 86cd2f54d7 More Rust cleanups 2021-05-03 14:14:31 -04:00
Ian Goldberg 15e9a1a72a Remove noop migration credentials 2021-05-03 14:13:13 -04:00
Ian Goldberg f7b3d242bb The request message of the level upgrade protocol 2021-05-01 22:26:13 -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 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 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 450c62bfc7 Check that we can use the credential to read a bucket 2021-04-29 11:28:40 -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