mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-22 07:41:51 +00:00
11 lines
205 B
Bash
Executable File
11 lines
205 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
set -e
|
|
|
|
# Generates 10 WireGuard keypairs for use in Dev/Test environments.
|
|
# Do not use in Prod.
|
|
repeat 10 {
|
|
key=$(wg genkey | tee >(wg pubkey))
|
|
parts=("${(f)key}")
|
|
echo $parts
|
|
}
|