ContactDiscoveryService/client
Dimitris Apostolou 6739e4b4b0 Fix typos
2022-03-07 10:30:42 -05:00
..
cds_api add cds-client utility 2020-07-28 08:58:54 -07:00
cds_api_client Fix typos 2022-03-07 10:30:42 -05:00
cds_client cds-client: rework request-producer / response-consumer 2020-07-31 13:57:57 -07:00
.gitignore add cds-client utility 2020-07-28 08:58:54 -07:00
Cargo.lock cds-client: rework request-producer / response-consumer 2020-07-31 13:57:57 -07:00
Cargo.toml add cds-client utility 2020-07-28 08:58:54 -07:00
Makefile add cds-client utility 2020-07-28 08:58:54 -07:00
README.md update README with dependencies to build 2021-02-23 10:28:27 -08:00
rustfmt.license-template add cds-client utility 2020-07-28 08:58:54 -07:00
rustfmt.toml add cds-client utility 2020-07-28 08:58:54 -07:00

CDS API Client Utility

This is a tool for making client API requests to the Contact Discovery Service.

Building

Type make. The tool is then available in target/release/cds_api_client.

Usage

A basic invocation looks like:

$ ./cds_api_client --connect <CDS_URI> --enclave-name <enclave_name> --username <username> --password <password> --list <phone-list-file>
  • --enclave-name -- name of the enclave running on the CDS
  • --username -- Signal user name
  • --password -- Authorization associated with username
  • --list -- a file containing phone numbers, one per line

See the output of ./cds_api_client --help for the complete list of options.

Dependencies

Linux

sudo apt install rustc sudo apt install pkg-config sudo apt install libssl-dev

MacOS

brew install openssl brew install rustc