#tbop #publish #bump

bin+lib tbop-tcs-psi

TBOP project

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

Download history 24/week @ 2024-07-27 13/week @ 2024-09-21 10/week @ 2024-09-28

117 downloads per month

MIT license

16KB
344 lines

Publishing

  • Bump up version in Cargo.toml
  • Run cargo publish

Clien environment variables

  • SHARED_SECRET - shared secret necessary in the PSI protocol
  • POSTGRES_CONNECTION - params to connect to postgres
  • POSTGRES_QUERY - query to retrieve strings for intersection
  • INTERSECTION_TABLE - table to store intersection results
  • INTERSECTION_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