-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Processing vars at init-pki was intentionally kept to minimum, due to complications with user expectations verses Easy-RSA preferences. This overhaul aims to finalise Easy-RSA interference with vars. 1. Prefer that vars is in the PKI but only force that at init-pki, when no other vars files can be found. Otherwise, do not create a template vars and leave it to the user, with appropriate messages. 2. Fail all commands, except init-pki, if more than one vars exists. 3. Take special care of 'init-pki soft'. 4. For existing PKIs, be aware that vars may NOT exist. This patch is less complicated than it appears to be. Most of the changes are either comments or user messages. There are some new state flags to manage the location of vars, which are used to decide when a new vars is created and control user messages. Closes: #651 New message for "Using x509-types directory: $EASYRSA_EXT_DIR" Closes: #654 Signed-off-by: Richard T Bonhomme <[email protected]>
- Loading branch information
1 parent
f13bf5e
commit 69afb59
Showing
1 changed file
with
126 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters