2020-11-20 07:48:56 +00:00
|
|
|
# Tapir-rs: Tiny Anonymous Peer (in Rust)
|
|
|
|
|
2021-01-12 12:19:49 +00:00
|
|
|
Very WIP. Currently supports authentication over Tor v3 onion services aligned with https://cwtch.im
|
2020-11-20 07:48:56 +00:00
|
|
|
|
2021-01-12 12:19:49 +00:00
|
|
|
## Examples
|
2020-11-20 07:48:56 +00:00
|
|
|
|
2021-01-12 12:19:49 +00:00
|
|
|
Run an ephemeral server:
|
2020-11-20 07:48:56 +00:00
|
|
|
|
2021-01-12 12:19:49 +00:00
|
|
|
cargo run --example simple_server
|
2020-11-20 07:48:56 +00:00
|
|
|
|
2021-01-12 12:19:49 +00:00
|
|
|
Update `examples/simple_client.rs` to connect to the address generated by `simple_server` and then run:
|
2020-11-20 07:48:56 +00:00
|
|
|
|
2021-01-12 12:19:49 +00:00
|
|
|
cargo run --example simple_client
|
|
|
|
|
|
|
|
Both the server and client should authenticate each other.
|