From 00e809cd899cb8a9b55b1eb547ffa2e7d6e86a24 Mon Sep 17 00:00:00 2001 From: hagbard Date: Mon, 27 Aug 2018 08:35:39 -0700 Subject: T793: wiregurard preshared-key op-mode script and interface implementation --- src/op_mode/wireguard_key.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/op_mode') diff --git a/src/op_mode/wireguard_key.py b/src/op_mode/wireguard_key.py index 6177853c4..c7208843d 100755 --- a/src/op_mode/wireguard_key.py +++ b/src/op_mode/wireguard_key.py @@ -54,7 +54,7 @@ def genkey(): ### if umask 077 makes trouble, 027 will work old_umask = os.umask(0o077) if os.path.exists(pk) and os.path.exists(pub): - choice = input("You have a wireguard key-pair already, do you want to re-generate? [y/n] ") + choice = input("You already have a wireguard key-pair already, do you want to re-generate? [y/n] ") if choice == 'y' or choice == 'Y': generate_keypair() else: @@ -79,7 +79,7 @@ def showkey(key): def genpsk(): old_umask = os.umask(0o077) if os.path.exists(psk): - choice = input("You have a wireguard key-pair already, do you want to re-generate? [y/n] ") + choice = input("You already have a preshared-key, do you want to re-generate? [y/n] ") if choice == 'y' or choice == 'Y': generate_psk() else: -- cgit v1.2.3