mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-25 02:09:03 +01:00
Use 2048 bits RSA key by default
This commit is contained in:
parent
10a1d04f3b
commit
11e023b6dc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user