From 6e4642b12ca7a487690e4cf3e7a72fbade224d5a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 17 Apr 2016 03:32:59 -0400 Subject: [PATCH] Enigma: Add enigma_debug option --- plugins/enigma/config.inc.php.dist | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/plugins/enigma/config.inc.php.dist b/plugins/enigma/config.inc.php.dist index 57dfcad..2b9b846 100644 --- a/plugins/enigma/config.inc.php.dist +++ b/plugins/enigma/config.inc.php.dist @@ -9,6 +9,9 @@ // A driver to use for S/MIME. Default: "phpssl". $config['enigma_smime_driver'] = 'phpssl'; +// Enables logging of enigma operations (including Crypt_GPG debug info) +$config['enigma_debug'] = false; + // Keys directory for all users. Default 'enigma/home'. // Must be writeable by PHP process $config['enigma_pgp_homedir'] = null; @@ -28,7 +31,7 @@ // Enable encrypting all messages by default $config['enigma_encrypt_all'] = false; -// Enable signing all messages by default +// Enable attaching a public key to all messages by default $config['enigma_attach_pubkey'] = false; // Default for how long to store private key passwords (in minutes). @@ -45,3 +48,14 @@ // To solve that a hardware entropy generator or // an entropy gathering daemon may be installed (e.g. randomsound). $config['enigma_keygen_server'] = false; + +// With this option you can lock composing options +// of the plugin forcing the user to use configured settings. +// The array accepts: 'sign', 'encrypt', 'pubkey'. +// +// For example, to force your users to sign every email, +// you should set: +// - enigma_sign_all = true +// - enigma_options_lock = array('sign') +// - dont_override = array('enigma_sign_all') +$config['enigma_options_lock'] = array(); -- Gitblit v1.9.1