From 11e023b6dcdb2f6fb1e92f413e2c6e94903e8a25 Mon Sep 17 00:00:00 2001 From: angristan Date: Sat, 22 Sep 2018 14:20:57 +0200 Subject: [PATCH] Use 2048 bits RSA key by default --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 3a76205..4b5afb7 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -342,7 +342,7 @@ function installOpenVPN () { echo " 2) 3072 bits" echo " 3) 4096 bits" until [[ "$RSA_KEY_SIZE_CHOICE" =~ ^[0-9]+$ ]] && [ "$RSA_KEY_SIZE_CHOICE" -ge 1 ] && [ "$RSA_KEY_SIZE_CHOICE" -le 3 ]; do - read -rp "RSA key size [1-3]: " -e -i 1 RSA_KEY_SIZE_CHOICE + read -rp "RSA key size [1-3]: " -e -i 2 RSA_KEY_SIZE_CHOICE done case $RSA_KEY_SIZE_CHOICE in 1)