mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-05 20:40:02 -08:00
- adds TOML based configuation files - with example configuratios in config-examples - reimplments arcane CLI argument parser as automaton - adds a new CLI focused arround configuration files - moves all file utility stuff from `main.rs` to `util.rs` - moves all AppServer stuff to dedicated `app_server.rs` - add mio for multi-listen-socket support (should fix #27) - consistency: rename private to secret
19 lines
354 B
TOML
19 lines
354 B
TOML
public_key = "peer-a-public-key"
|
|
secret_key = "peer-a-secret-key"
|
|
listen = ["[::]:10001"]
|
|
verbosity = "Quiet"
|
|
|
|
[[peers]]
|
|
public_key = "peer-b-public-key"
|
|
endpoint = "localhost:10002"
|
|
key_out = "peer-a-rp-out-key"
|
|
# exchange_command = [
|
|
# "wg",
|
|
# "set",
|
|
# "wg0",
|
|
# "peer",
|
|
# "<PEER_ID>",
|
|
# "preshared-key",
|
|
# "/dev/stdin",
|
|
# ]
|