• Joined on 2024-01-17
vecna synced commits to main at vecna/lox from mirror 2024-03-20 01:49:42 -04:00
2bbc0e8705 Merge remote-tracking branch 'upstream/main'
c7aa2d2ee2 Update Rust crate thiserror to 1.0.58
f4af7b5e71 Update Rust crate tokio-stream to 0.1.15
Compare 3 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-03-18 18:16:25 -04:00
58ab310a40 Switch REQUIRE_BRIDGE_TOKEN back to constant for now
5935d3d78c Rename bridge_info::BridgeInfo to disambiguate
Compare 2 commits »
vecna synced commits to main at vecna/lox from mirror 2024-03-18 17:16:28 -04:00
94dc1c063c Endpoint for TP system to report bridges are blocked
07f0e38a40 Merge upstream changes
64ada23f21 Generate tp_bridge_infos initially and whenever syncing with rdsys
daeeb3fdea Add function to lox_context to create fingerprint maps for TP verification
4eba9df7db Add tests for positive reports
Compare 42 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-03-15 08:56:26 -04:00
68137981fc One bridge may be in multiple buckets
4f5bec56ad Add distributor enum so we know where to send NRs
Compare 2 commits »
vecna synced commits to main at vecna/lox from mirror 2024-03-15 07:36:28 -04:00
6a0ff0d8a2 Begin implementing Troll Patrol handler
vecna synced commits to main at vecna/lox from mirror 2024-03-11 21:56:28 -04:00
503c026964 Move (unhashed) fingerprint to field in BridgeLine
vecna synced commits to main at vecna/troll-patrol from mirror 2024-03-01 17:56:27 -05:00
548c94f834 Add some necessary traits
6448537c4b One verify function for positive reports
4f88df6171 Create struct for bridge info which must be externally provided
495f196107 Use one function for verifying negative reports
Compare 4 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-28 16:56:26 -05:00
9412817a66 Remove unused dependencies
d06542f99c Don't recompute H when verifying positive reports
Compare 2 commits »
vecna synced commits to main at vecna/lox from mirror 2024-02-28 14:56:28 -05:00
e1bed84e27 cargo-fmt
88a0990243 Don't have LA recompute H every time to verify positive reports
Compare 2 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-27 00:36:25 -05:00
c1b058ce4e cargo-fmt
cc670963c5 Check that date in Lox proof matches date in PR
Compare 2 commits »
vecna synced commits to main at vecna/lox from mirror 2024-02-26 22:06:27 -05:00
2ca58d8b5a Use const for generating H
af68c8818d Have LA recompute H rather than accepting it from user
Compare 2 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-26 00:16:26 -05:00
3a6423d2ba Space things out for better readability
cde22fef67 Use bridge-stats-end if available, refactor db to counts of reports
Compare 2 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-21 22:36:26 -05:00
cc86baa4b5 Disallow empty country code in negative reports
28233ec8a5 Use map for negative reports
Compare 2 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-21 14:26:27 -05:00
50ce57765d Add verify functions for NRs
98fe935d7a Check bridge token fields when deserializing
Compare 2 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-20 22:16:27 -05:00
d971e420a2 Add verify function for PRs, doesn't handle Lox proof verification
vecna synced commits to main at vecna/lox from mirror 2024-02-20 19:06:27 -05:00
e2e59e50a6 Make H, BH public so knowledge of bucket can be verified
65e763724b Merge changes from upstream
60a47c962f Update Rust crate serde_with to 3.5.0
050e628ae7 Add endpoint to return server constants
2ad2f2e211 Make lox-distributor listening port configurable
Compare 13 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-02-08 00:36:26 -05:00
e4ee46866a Main method to download and process extra-infos
08cfacbf85 Code for processing extra-infos files
4a56229c5d Make reports their own files
Compare 3 commits »
vecna synced commits to main at vecna/troll-patrol from mirror 2024-01-23 02:26:34 -05:00
1e44e16bb1 Check fields when deserializing user reports