diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-11 11:03:59 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-11 11:03:59 +0000 |
commit | 86693a33abd5e8c31530adb3045c9f4664d4d6c9 (patch) | |
tree | 3ef25d39266c92a62ece902799cc23b76812e0d0 /proc.h | |
parent | f81a97b3569478a36e5cbe95229efd1b831b7a7b (diff) |
add a privsep crypto engine
Incorporate the OpenSMTPD' privsep crypto engine. The idea behind
it is to never load the certificate' private keys in a networked
process, instead they are loaded in a separate process (the `crypto'
one) which signs payloads on the behalf of the server processes.
This way, we greatly reduce the risk of leaking the certificate'
private key should the server process be compromised.
This currently compiles only on LibreSSL (portable fix is in the
way).
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ struct imsgev { enum privsep_procid { PROC_PARENT, PROC_SERVER, + PROC_CRYPTO, PROC_LOGGER, PROC_MAX, }; |