mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-05 20:40:02 -08:00
chore(integration-test): Nix fmt
This commit is contained in:
committed by
David Niehues
parent
82135cce5c
commit
b88d3961ea
@@ -33,8 +33,7 @@ let
|
||||
peerCConfigFileVersion = if multiPeer then getConfigFileVersion pkgs.rosenpass-peer-c else null;
|
||||
|
||||
generateWgKeys =
|
||||
name:
|
||||
sk:
|
||||
name: sk:
|
||||
let
|
||||
# The trailing line break that is generated by `wg genkey` and `wg pubkey` breaks the script rp-key-sync.nix to copy the preshared keys.
|
||||
# We therefore remove the trailing spaces here.
|
||||
@@ -51,7 +50,8 @@ let
|
||||
|
||||
peerAWgKeys = generateWgKeys "peerA" "EMeaSKGSSWQFuA8xhca+potK7B43hPsJ9XkUXtfaNF0=";
|
||||
peerBWgKeys = generateWgKeys "peerB" "ANLij+xiMYmxpFjYcOTt4z8pX1a91Gsg4ZLpcCrjGVg=";
|
||||
peerCWgKeys = if multiPeer then generateWgKeys "peerC" "COOk7sSt34r3xtwCvOdqQiv2Pf4auKI+Btgyce2fw1w=" else null;
|
||||
peerCWgKeys =
|
||||
if multiPeer then generateWgKeys "peerC" "COOk7sSt34r3xtwCvOdqQiv2Pf4auKI+Btgyce2fw1w=" else null;
|
||||
|
||||
generateRPKeys =
|
||||
name: rosenpassVersion:
|
||||
|
||||
Reference in New Issue
Block a user