mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 06:23:08 -08:00
chore: prettier
This commit is contained in:
@@ -21,12 +21,13 @@ Now, open a second terminal and run the following in one (not using the broker):
|
|||||||
```bash
|
```bash
|
||||||
PATH="$PWD/target/debug:$PATH" rosenpass exchange-config config-examples/peer-a-config.toml
|
PATH="$PWD/target/debug:$PATH" rosenpass exchange-config config-examples/peer-a-config.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
and the following in the other (spawning a broker and communicating with it via socketpair(2)):
|
and the following in the other (spawning a broker and communicating with it via socketpair(2)):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd rosenpass
|
cd rosenpass
|
||||||
PATH="$PWD/target/debug:$PATH" rosenpass --psk_broker_spawn exchange-config config-examples/peer-a-config.toml
|
PATH="$PWD/target/debug:$PATH" rosenpass --psk_broker_spawn exchange-config config-examples/peer-a-config.toml
|
||||||
````
|
```
|
||||||
|
|
||||||
You should see the two parties exchange keys, and can view the shared PSK via `wg show`.
|
You should see the two parties exchange keys, and can view the shared PSK via `wg show`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user