From 09bb95709965abd24092331a1bc02914f48d79c8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 11 May 2022 09:57:50 +0200 Subject: Add new scripts Signed-off-by: Florian Pritz --- wg-genkey | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 wg-genkey (limited to 'wg-genkey') diff --git a/wg-genkey b/wg-genkey new file mode 100755 index 0000000..d7410e4 --- /dev/null +++ b/wg-genkey @@ -0,0 +1,6 @@ +#!/bin/bash + +key=$(wg genkey) +echo "private: $key" +printf "public: " +wg pubkey <<<"$key" -- cgit v1.2.3-24-g4f1b