tbop-tcs-psi

Crates.iotbop-tcs-psi
lib.rstbop-tcs-psi
version0.2.3
sourcesrc
created_at2024-06-10 18:08:08.763432
updated_at2024-06-11 14:21:51.0971
descriptionTBOP project
homepage
repository
max_upload_size
id1267439
size55,619
(ignacy123)

documentation

README

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.

Commit count: 0

cargo fmt