Skip to content

Commit

Permalink
init-pki: Remove SECOND confirmation promoting use of option 'soft'
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
TinCanTech committed Sep 14, 2023
1 parent eedb81e commit 7684b97
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 7684b97

Please sign in to comment.