diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-16 16:45:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-16 17:05:02 +0100 |
commit | db25f46740511104bbe565f20914b4aabec7864e (patch) | |
tree | c0c52c829d5639d445b48466db4d54a7c9d863e3 /src/libserver/cfg_rcl.c | |
parent | 13aa518f897059689fb71d3896956f6f7be21224 (diff) | |
download | rspamd-db25f46740511104bbe565f20914b4aabec7864e.tar.gz rspamd-db25f46740511104bbe565f20914b4aabec7864e.zip |
[Feature] Implement encrypted logs
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index ad0629f25..94c5862d7 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1680,6 +1680,12 @@ rspamd_rcl_config_init (struct rspamd_config *cfg) "Specify format string for the task logging output " "(https://rspamd.com/doc/configuration/logging.html " "for details)"); + rspamd_rcl_add_default_handler (sub, + "encryption_key", + rspamd_rcl_parse_struct_pubkey, + G_STRUCT_OFFSET (struct rspamd_config, log_encryption_key), + 0, + "Encrypt sensitive information in logs using this pubkey"); /** * Options section */ |