Vecna
65e763724b
Merge changes from upstream
2024-02-20 16:45:56 -05:00
onyinyang
33e24ef5b6
Fix bug in bridge_replace fn, test
2024-01-18 03:34:22 +00:00
Vecna
3f309c9da3
Ensure H is not identity
2024-01-17 18:12:27 -05:00
Vecna
1dbc14d5f1
Uncomment level and bucket checks
2024-01-17 17:41:53 -05:00
Vecna
a20300ab62
Fix error causing proof verification failure
2024-01-17 17:37:15 -05:00
Vecna
4240fa3377
Comment out level, bucket proofs to help debug
2024-01-17 16:59:33 -05:00
onyinyang
6afc557ad5
Fix length of bridge bytes and rdsys request interval
2024-01-17 16:43:39 +00:00
Vecna
9cd9e3fab7
Add proof of level 3 or 4, bucket. (Still needs to be debugged.)
2024-01-16 20:22:56 -05:00
Vecna
a6c5d789e7
Begin work on LV3+ proof for Troll patrol positive reports
2024-01-15 19:22:59 -05:00
onyinyang
075d51b088
Add better serde error handling to wasm functions
2023-12-21 17:00:49 +00:00
Cecylia Bocovich
39449cabe8
Respond with error when open invitation buckets are empty
...
Expand the error type returns by invite() to include a new error for
when there are no available bridges for open invitation users. This
fixes a bug that previously caused a panic when we have no bridges to
distribute.
See https://gitlab.torproject.org/tpo/anti-censorship/lox/-/issues/43
2023-12-20 13:52:42 -05:00
onyinyang
c8b6bb9fdd
Formatting and clippy changes
2023-12-19 20:02:12 +00:00
onyinyang
472445a9a5
Add README for rdsys-backend-api, lox-utils and switch to lox-zkp crate
2023-11-23 11:44:05 -05:00
onyinyang
fdde186c92
Add lox-wasm and lox-utils READMEs and other fmt fixes
2023-11-21 12:57:00 -05:00
onyinyang
66f560eb08
Remove unneeded fields from bridgeline and reduce BRIDGE_BYTES
2023-11-14 17:30:45 +00:00
onyinyang
cb159405a3
Add watched_blockages to config file and improve naming
2023-11-14 17:30:45 +00:00
onyinyang
e356034dae
Fixup and add comments, README to Lox Library
2023-11-07 18:44:25 -05:00
onyinyang
ba70b1b4d4
Add a MAX_DAILY_BRIDGES to limit invites per day
2023-10-30 15:17:08 -04:00
onyinyang
96a03f1a27
Remove non-implicit invremain attribute fields
2023-10-23 17:11:15 -04:00
onyinyang
ed72b05347
Add changes for bug fix in zkp crate
2023-10-23 15:22:11 -04:00
onyinyang
794f80ab11
Fix bug in DupFilter that breaks serialize/deserialize
2023-10-23 13:55:19 -04:00
onyinyang
68b5a9c18e
Upgrading several dalek dependencies and rand
2023-10-19 10:58:09 -04:00
onyinyang
4f7b96a603
Fix up some minor issues + fix bug in context sync
2023-10-18 12:09:46 -04:00
onyinyang
89fb0fbf4b
Add handling for unaccounted for bridges
2023-10-18 12:08:15 -04:00
onyinyang
25add69c4d
Add syncing functionality
2023-10-18 12:08:15 -04:00
onyinyang
be0d026fe8
Cleanup and add syncing of resources
2023-10-18 12:08:15 -04:00
onyinyang
7cc133236c
Add additional required changes for crate aes-gcm update to 0.1.0
2023-09-19 13:43:59 +00:00
onyinyang
f85878c89a
Change base64 generator to match updates
2023-09-14 15:30:10 +00:00
onyinyang
7647564c1e
Add test for k-invites
2023-08-02 17:21:03 -04:00
onyinyang
faf40caf3a
Change open invite logic to distribute to k users
2023-08-02 10:34:39 -04:00
onyinyang
35f62ed213
Cleanup
2023-08-02 10:20:40 -04:00
onyinyang
572928a271
Fixed Basic Serialization/Deserialization to json
2023-08-02 10:15:11 -04:00
onyinyang
f52c6f515a
Add EXPIRY_DATE constant and fixup cloned vectors
2023-08-02 10:11:47 -04:00
onyinyang
93ce3e41b7
Add ExhausedIndexError for no available bucket ids
2023-08-02 10:11:46 -04:00
onyinyang
471cb8c8c4
Add test for find_next_available_key
2023-08-02 10:11:46 -04:00
onyinyang
6191970d9a
Fixed clean up blocked test
2023-08-02 10:11:46 -04:00
onyinyang
9c2b7703a8
Added open inv cleanup test
2023-08-02 10:11:46 -04:00
onyinyang
a62b537aa6
Add testing for blocked bucket cleanup
2023-08-02 10:11:46 -04:00
onyinyang
3c88f4471b
Fix up convoluted function
2023-08-02 10:11:46 -04:00
onyinyang
d2d09bccc1
Add more comprehensive logic for tidying unneeded buckets
2023-08-02 10:11:46 -04:00
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
369d830bca
All tests passing for HashMap implementation
2023-06-23 08:30:14 -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