OpenVPN / easy-rsa

easy-rsa - Simple shell based CA utility
Other
4k stars 1.19k forks source link

Replace use of `sed` with `heredoc` expansion #1064

Closed TinCanTech closed 7 months ago

TinCanTech commented 8 months ago

sed is used to expand openssl-easyrsa.cnf and to sanitize the vars file organisation fields when configured for use.

Currently, the original behavior can be restored by setting EASYRSA_SAFE_CNF_SED=1 in the environment. There is no command option at this time but there probably will be, soon.

TinCanTech commented 8 months ago

93b28ad shaves off almost 10 seconds from each unit test.