From 7684b975ca9bbb0c551f3ff1ee2138a108e6ef4f Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 14 Sep 2023 11:08:44 +0100 Subject: [PATCH] init-pki: Remove SECOND confirmation promoting use of option 'soft' The option 'soft' for 'init-pki' has been found to be flawed, because keeping the 'vars' file in the PKI is now forbidden. The 'soft' option will be removed in due course. Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 9 --------- 1 file changed, 9 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index ff48b6d..c2f7b6c 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -1293,15 +1293,6 @@ and initialize a fresh PKI here." # now remove it: case "$reset" in hard) - - # Promote use of soft init - confirm "Remove current 'vars' file? " yes "\ -* SECOND WARNING!!! - -* This will remove everything in your current PKI directory. - To keep your current settings use 'init-pki soft' instead. - Using 'init-pki soft' is recommended." - # # # shellcheck disable=SC2115 # Use "${var:?}" rm -rf "$EASYRSA_PKI" || \ die "init-pki hard reset failed."