Commit Graph

481 Commits

Author SHA1 Message Date
Vecna 1864f0ca83 Re-merge tests, test going from levels 4 -> 2 -> 3 -> 1 2024-05-26 14:10:38 -04:00
Vecna 3bd99e9fbd Encrypt invites_remaining during blockage migration
Reverts ed72b05347
2024-05-26 14:07:14 -04:00
Vecna 59358787eb Break into two tests 2024-05-26 12:55:51 -04:00
Vecna 47e0cf9f69 Demo blockage migration from level 4 cred failing 2024-05-26 11:34:44 -04:00
Renovate Bot 005957795c
Update Rust crate serde_json to v1.0.117
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-09 10:48:35 -04:00
Renovate Bot fd18b1ec8c Update Rust crate serde to v1.0.201 2024-05-08 00:34:49 +00:00
Renovate Bot 922f8bbaff
Update Rust crate thiserror to v1.0.60
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-07 18:18:37 -04:00
Renovate Bot 21500d9758
Update Rust crate prometheus to v0.13.4
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-07 18:17:46 -04:00
Renovate Bot 04a7937ff0
Update Rust crate tokio to v1.37.0
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-07 18:16:59 -04:00
Renovate Bot 6e9e577326
Update Rust crate bytes to v1.6.0
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-07 18:16:05 -04:00
Renovate Bot ffb4fd282f
Update Rust crate base64 to v0.22.1
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-07 18:15:23 -04:00
Renovate Bot 329733f228
Update Rust crate serde to v1.0.200
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-05-07 18:14:02 -04:00
Renovate Bot 9e7a43da64 Update Rust crate tokio-util to v0.7.11 2024-05-06 14:44:54 +00:00
Renovate Bot 37be8d0468 Update Rust crate getrandom to v0.2.15 2024-05-06 13:04:52 +00:00
meskio 32ebd31935
Merge remote-tracking branches 'origin/mr/172' and 'origin/mr/174' 2024-05-06 12:31:35 +02:00
Renovate Bot 00aeace98a Update Rust crate serde_with to v3.8.1 2024-05-04 14:05:18 +00:00
Renovate Bot 04b3e2d2fa Update Rust crate serde_json to v1.0.116 2024-05-04 13:50:57 +00:00
Renovate Bot a9fd4ef867 Update Rust crate wasm-bindgen to 0.2.92 2024-04-30 09:08:38 +00:00
meskio 993f03f90e
Merge remote-tracking branches 'origin/mr/164' and 'origin/mr/163' 2024-04-30 10:53:13 +02:00
Renovate Bot 79df7eb8c8 Update Rust crate lazy_static to 1.4.0 2024-04-29 10:35:21 +00:00
Renovate Bot c0b9723b3d Update Rust crate getrandom to 0.2.14 2024-04-29 10:35:16 +00:00
Renovate Bot 0235ac26b7 Update Rust crate ed25519-dalek to 2.1.1 2024-04-29 10:05:09 +00:00
meskio 2d616eed08
Merge remote-tracking branches 'origin/mr/160', 'origin/mr/159' and 'origin/mr/162' 2024-04-29 11:59:37 +02:00
Renovate Bot a10da0413d Update Rust crate futures-util to 0.3.30 2024-04-25 16:05:15 +00:00
Renovate Bot b7b0aa6da8 Update Rust crate curve25519-dalek to 4.1.2 2024-04-25 16:05:09 +00:00
Renovate Bot e7e2fc0b60 Update Rust crate chrono to 0.4.38 2024-04-25 16:05:06 +00:00
Renovate Bot 95573f1193 Update Rust crate bincode to 1.3.3 2024-04-25 11:14:27 +00:00
Renovate Bot 1123b36970 Update Rust crate thiserror to 1.0.59 2024-04-20 19:35:39 +00:00
onyinyang 0e28602812
Update wasm for base64 encoded invite 2024-04-17 17:38:38 -04:00
onyinyang 0a12b0fc52
Serialize, Deserialize invite as base64 string
`loxinvite` is concatenated with an underscore
to try to prevent copy errors from telegram
2024-04-17 17:35:49 -04:00
onyinyang d0407e9e5d
Update lox-context to handle Removed bridges, add test for spare removals 2024-04-16 16:47:14 -04:00
onyinyang d881cf2fec
Remove spare and unallocated bridges rather than replacing them 2024-04-16 16:45:07 -04:00
onyinyang b771a40a3d
Fix deadlock error 2024-04-16 16:45:07 -04:00
onyinyang dae68efaae
Clear extra_bridges in distributor after sync, tidy up print statements 2024-04-16 16:45:07 -04:00
onyinyang 8e08adbdb0
Add sync check for unallocated_bridges in lox-library 2024-04-16 16:45:07 -04:00
onyinyang 76bb8757f5
Add basic tests for bridgetable sync with rdsys 2024-04-16 16:45:03 -04:00
onyinyang 5f34f49d17
Formatting changes from cargo fmt 2024-04-16 16:05:49 -04:00
onyinyang 82e63284ce
Update base64 version 2024-04-16 16:05:49 -04:00
onyinyang 5127762c2b
Add fake_resource_state crate for lox-context unit testing 2024-04-16 16:04:57 -04:00
onyinyang cee2510324
Move random Bridgeline generator function to lox_utils 2024-04-15 18:52:01 -04:00
Renovate Bot 39531bd969
Update Rust crate time to 0.3.36
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:57:39 -04:00
Renovate Bot 267747a01e
Update Rust crate clap to 4.5.4
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:56:55 -04:00
Renovate Bot 06cac427b8
Update Rust crate chrono to 0.4.38
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-04-15 16:54:35 -04:00
Renovate Bot c7aa2d2ee2
Update Rust crate thiserror to 1.0.58
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
2024-03-19 10:48:57 -04:00
Renovate Bot f4af7b5e71 Update Rust crate tokio-stream to 0.1.15 2024-03-14 21:12:17 +00:00
Cecylia Bocovich c92a14d612
Use more descriptive error for lox proto functions
Request functions for protocols in the Lox library previously returned a
ProofError error type, which is not verbose enough to allow for accurate
debugging.

This commit introduces a new error enum, CredentialError, with several
types that allow for descriptive error messages.
2024-03-12 16:16:04 -04:00
Renovate Bot bd58409762 Update Rust crate serde_with to 3.7.0 2024-03-11 22:09:04 +00:00
Cecylia Bocovich 12deeddeb0
Further condense search for replacement spares 2024-03-09 20:55:40 -05:00
Cecylia Bocovich 762fef432f
Remove unecessary res variable 2024-03-09 20:55:40 -05:00
Cecylia Bocovich a6c98b8f43
De-duplicate bridge replacement code 2024-03-09 20:55:40 -05:00