Merge branch 'update-unsup-chars' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-update-unsup-chars
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
commit
d1cabcad2a
@ -3851,18 +3851,12 @@ recommended - please remove it from there before continuing."
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Warning: Unsupported characters
|
# Warning: Unsupported characters
|
||||||
if grep '^[[:blank:]]*set_var[[:blank:]][[:blank:]]*.*' "$vars" |
|
if grep '^[[:blank:]]*set_var[[:blank:]]*.*$' "$vars" | \
|
||||||
grep \
|
grep -q -e '`'
|
||||||
-e "EASYRSA_REQ_COUNTRY" \
|
|
||||||
-e "EASYRSA_REQ_PROVINCE" \
|
|
||||||
-e "EASYRSA_REQ_CITY" \
|
|
||||||
-e "EASYRSA_REQ_ORG" \
|
|
||||||
-e "EASYRSA_REQ_EMAIL" \
|
|
||||||
-e "EASYRSA_REQ_OU" |
|
|
||||||
grep -q -e '`' -e '{' -e '}'
|
|
||||||
then
|
then
|
||||||
warn 'Unsupported characters are present in the vars file.
|
warn '\
|
||||||
These characters are not supported: (`) "{" "}"
|
Unsupported characters are present in the vars file.
|
||||||
|
These characters are not supported: ` backtick
|
||||||
Sourcing the vars file and building certificates will probably fail ..'
|
Sourcing the vars file and building certificates will probably fail ..'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -94,12 +94,7 @@ fi
|
|||||||
|
|
||||||
# NOTE: The following characters are not supported
|
# NOTE: The following characters are not supported
|
||||||
# in these "Organizational fields" by Easy-RSA:
|
# in these "Organizational fields" by Easy-RSA:
|
||||||
# single quote (')
|
|
||||||
# back-tick (`)
|
# back-tick (`)
|
||||||
# hash (#)
|
|
||||||
# ampersand (&)
|
|
||||||
# dollar sign ($)
|
|
||||||
# Use them at your own risk!
|
|
||||||
|
|
||||||
#set_var EASYRSA_REQ_COUNTRY "US"
|
#set_var EASYRSA_REQ_COUNTRY "US"
|
||||||
#set_var EASYRSA_REQ_PROVINCE "California"
|
#set_var EASYRSA_REQ_PROVINCE "California"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user