Merge branch 'make-vars' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-make-vars
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
commit
582aadeea7
@ -1,6 +1,7 @@
|
||||
Easy-RSA 3 ChangeLog
|
||||
|
||||
3.2.0 (TBD)
|
||||
* New command: make-vars - Print vars.example (here-doc) to stdout (#1024)
|
||||
* show-expire: Calculate cert. expire seconds from DB date (#1023)
|
||||
* Forbid "default vars in the default PKI" for all commands (#1021)
|
||||
There can be only one default vars file, that is now './vars' ONLY.
|
||||
|
||||
@ -469,6 +469,9 @@ cmd_help() {
|
||||
# Test features
|
||||
text_only=1
|
||||
text="
|
||||
Print vars.example here-doc to stdout:
|
||||
make-vars
|
||||
|
||||
Make safessl-easyrsa.cnf file:
|
||||
mss|make-safe-ssl
|
||||
|
||||
@ -5827,6 +5830,7 @@ Remove 'unset' ('force_set_var' may also work)."
|
||||
# shellcheck disable=SC2034 # appears unused
|
||||
EASYRSA_CALLER=1
|
||||
easyrsa_path="$PATH"
|
||||
# shellcheck disable=SC2123 # PATH is the shell ..
|
||||
PATH=./
|
||||
|
||||
# Test sourcing 'vars' in a subshell
|
||||
@ -7304,6 +7308,14 @@ case "$cmd" in
|
||||
esac
|
||||
esac
|
||||
|
||||
# Run these commands with NO setup
|
||||
case "$cmd" in
|
||||
make-vars)
|
||||
create_vars_example
|
||||
cleanup ok
|
||||
;;
|
||||
esac
|
||||
|
||||
# Intelligent env-var detection and auto-loading:
|
||||
vars_setup
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user