1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-21 16:18:29 +02:00
openwrt/package/libs/openssl
Eneas U de Queiroz 0134f845da openssl: configure engines with uci
This uses uci to configure engines, by generating a list of enabled
engines in /var/etc/ssl/engines.cnf from engines configured in
/etc/config/openssl:

    config engine 'devcrypto'
            option enabled '1'

Currently the only options implemented are 'enabled', which defaults to
true and enables the named engine, and the 'force' option, that enables
the engine even if the init script thinks the engine does not exist.

The existence test is to check for either a configuration file
/etc/ssl/engines.cnf.d/%ENGINE%.cnf, or a shared object file
/usr/lib/engines-1.1/%ENGINE%.so.

The engine list is generated by an init script which is set to run after
'log' because it informs the engines being enabled or skipped.  It
should run before any service using OpenSSL as the crypto library,
otherwise the service will not use any engine.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-02-22 16:37:23 +01:00
..
files openssl: configure engines with uci 2022-02-22 16:37:23 +01:00
patches openssl: configure engines with uci 2022-02-22 16:37:23 +01:00
Config.in openssl: always build with GOST engine support 2021-02-23 21:10:56 +01:00
engine.mk openssl: configure engines with uci 2022-02-22 16:37:23 +01:00
Makefile openssl: configure engines with uci 2022-02-22 16:37:23 +01:00