mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-12 07:40:30 -08:00
chore: Show PSKs exchanged in integration test
This commit is contained in:
committed by
David Niehues
parent
dffd0b33fe
commit
c8a724a8d0
@@ -501,6 +501,19 @@ in
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("${prepareSshLogin}/bin/prepare-ssh-login peerckeyexchanger")
|
||||
''}
|
||||
|
||||
# Dump current state of WireGuard tunnels
|
||||
peerA.succeed("wg show all 1>&2")
|
||||
peerB.succeed("wg show all 1>&2")
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("wg show all 1>&2")
|
||||
''}
|
||||
peerA.succeed("wg show all preshared-keys 1>&2")
|
||||
peerB.succeed("wg show all preshared-keys 1>&2")
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("wg show all preshared-keys 1>&2")
|
||||
''}
|
||||
|
||||
for m in [peerbkeyexchanger, peerakeyexchanger]:
|
||||
m.wait_for_unit("rp-exchange.service")
|
||||
|
||||
@@ -527,5 +540,18 @@ in
|
||||
peerC.succeed("ping -c 1 ${staticConfig.peerA.innerIp}")
|
||||
peerC.succeed("ping -c 1 ${staticConfig.peerB.innerIp}")
|
||||
''}
|
||||
|
||||
# Dump current state of WireGuard tunnels
|
||||
peerA.succeed("wg show all 1>&2")
|
||||
peerB.succeed("wg show all 1>&2")
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("wg show all 1>&2")
|
||||
''}
|
||||
peerA.succeed("wg show all preshared-keys 1>&2")
|
||||
peerB.succeed("wg show all preshared-keys 1>&2")
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("wg show all preshared-keys 1>&2")
|
||||
''}
|
||||
|
||||
'');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user