mosquitto/client
Nicolás Pernas Maradei 20894fcbce Add engine private key password support
Some OpenSSL engines (selectable via tls_engine option) may require a
password to make use of private keys created with them in the first place.

The TPM engine for example, will require a password to access the underlying
TPM's Storage Root Key (SRK), which is the root key of a hierarchy of keys
associated with a TPM; it is generated within a TPM and is a non-migratable
key. Each owned TPM contains a SRK, generated by the TPM at the request
of the Owner. [1]

By default, the engine will prompt the user to introduce the SRK password
before any private keys created with the engine can be used. This could
be inconvenient when running on an unattended system.

Here's where the new tls_engine_kpass_sha option comes in handy. The user
can specify a SHA1 hash of its engine private key password via command
line or config file and it will be passed on to the engine directly.

This commit adds support for both clients (libmosquitto) and broker.

[1] https://goo.gl/qQoXBY

Signed-off-by: Nicolás Pernas Maradei <nicopernas@gmail.com>
2019-02-26 15:50:37 +00:00
..
client_shared.c Add engine private key password support 2019-02-26 15:50:37 +00:00
client_shared.h Add engine private key password support 2019-02-26 15:50:37 +00:00
CMakeLists.txt Adding support for QNX7.0.0 2018-11-06 23:11:09 +00:00
Makefile Merge branch 'master' 2018-10-23 10:39:20 +01:00
pub_client.c Add engine private key password support 2019-02-26 15:50:37 +00:00
sub_client_output.c Consistent use of config.h across the project. 2018-08-16 11:14:51 +01:00
sub_client.c Add engine private key password support 2019-02-26 15:50:37 +00:00