#tbop #publish #up #bump #toml #version

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

#12 in #bump

Download history 368/week @ 2024-06-10

368 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

~13–24MB
~380K SLoC