5 releases
0.2.3 | Jun 11, 2024 |
---|---|
0.2.2 | Jun 11, 2024 |
0.2.1 | Jun 11, 2024 |
0.1.1 | Jun 10, 2024 |
0.1.0 | Jun 10, 2024 |
#750 in Network programming
117 downloads per month
16KB
344 lines
Publishing
- Bump up version in
Cargo.toml
- Run
cargo publish
Clien environment variables
SHARED_SECRET
- shared secret necessary in the PSI protocolPOSTGRES_CONNECTION
- params to connect to postgresPOSTGRES_QUERY
- query to retrieve strings for intersectionINTERSECTION_TABLE
- table to store intersection resultsINTERSECTION_COLUMN
- column to store the values of the intersection
Launching
On AWS instance:
cargo install tbop-tcs-psi --bin server
server -s 0.0.0.0:5555
In another session:
cargo install tbop-tcs-psi --bin client
client -s 0.0.0.0:5555 -c 0.0.0.0:5556 -p
On Azure instance:
cargo install tbop-tcs-psi --bin client
client -s tcs-cars.sytes.net:5555 -c tcs-cars.sytes.net:5556
Enjoy.
Dependencies
~12–23MB
~359K SLoC