mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-07-28 22:30:51 -07:00
Added example for additional PSK
This commit is contained in:
committed by
Karolin Varner
parent
31d43accd5
commit
36089fd37f
@@ -344,14 +344,12 @@ impl Rosenpass {
|
||||
public_key: "/path/to/rp-peer-public-key".into(),
|
||||
endpoint: Some("my-peer.test:9999".into()),
|
||||
key_out: Some("/path/to/rp-key-out.txt".into()),
|
||||
pre_shared_key: None,
|
||||
pre_shared_key: Some("additional pre shared key".into()),
|
||||
wg: Some(WireGuard {
|
||||
device: "wirgeguard device e.g. wg0".into(),
|
||||
peer: "wireguard public key".into(),
|
||||
extra_params: vec![
|
||||
"passed to".into(),
|
||||
"wg set".into()
|
||||
] }),
|
||||
extra_params: vec!["passed to".into(), "wg set".into()],
|
||||
}),
|
||||
};
|
||||
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user