easy-rsa
easy-rsa copied to clipboard
Remove obsolete 'sed' expansion of openssl-easyrsa.cnf
Removed:
- 'sed' expansion of openssl-easyrsa.cnf from expand_ssl_config().
- escape_hazard() completely.
- Global option --old-safe-ssl.
All expansion is now performed by expanding here-docs.
Unfortunately, this does not take into account use of ~LibreSSL~ ANY SSL with a custom openssl-easyrsa.cnf file. It forcibly over writes the user SSL config.
This means that removing sed expansion is not possible.
Alternatively, the code can catch this specific circumstance and refuse it with an informative error message. ~eg. EasyRRSA does not support custom SSL config for use with LibreSSL~
I'm looking hard at the alternative option above..
This is an ideal candidate for easyrsa-tools.lib, how often is a user going to customise openssl-easyrsa.cnf ? [Applies to both OpenSSL and LibreSSL]
Linking: #1121
Closed for the reason given in #1116