Aleksander Machniak
2016-04-21 f0fa9324d83ea1bd57f0b702e3b419f7194169cb
commit | author | age
48e9c1 1 <?php
T 2
3 // Enigma Plugin options
4 // --------------------
5
6 // A driver to use for PGP. Default: "gnupg".
bcedf0 7 $config['enigma_pgp_driver'] = 'gnupg';
48e9c1 8
T 9 // A driver to use for S/MIME. Default: "phpssl".
bcedf0 10 $config['enigma_smime_driver'] = 'phpssl';
48e9c1 11
6e4642 12 // Enables logging of enigma operations (including Crypt_GPG debug info)
AM 13 $config['enigma_debug'] = false;
14
48e9c1 15 // Keys directory for all users. Default 'enigma/home'.
T 16 // Must be writeable by PHP process
bcedf0 17 $config['enigma_pgp_homedir'] = null;
a99c34 18
765736 19 // Enables signatures verification feature.
AM 20 $config['enigma_signatures'] = true;
21
22 // Enables messages decryption feature.
23 $config['enigma_decryption'] = true;
24
1459f8 25 // Enables messages encryption and signing feature.
AM 26 $config['enigma_encryption'] = true;
27
a99c34 28 // Enable signing all messages by default
AM 29 $config['enigma_sign_all'] = false;
30
31 // Enable encrypting all messages by default
32 $config['enigma_encrypt_all'] = false;
765736 33
96c3d8 34 // Enable attaching a public key to all messages by default
7ce958 35 $config['enigma_attach_pubkey'] = false;
KF 36
765736 37 // Default for how long to store private key passwords (in minutes).
AM 38 // When set to 0 passwords will be stored for the whole session.
39 $config['enigma_password_time'] = 5;
a0dfcb 40
AM 41 // Enables server-side keys generation which would be used
42 // if user browser does not support web-crypto features.
43 //
44 // WARNING: Key generation requires true random numbers, and as such can be
45 // slow. If the operating system runs out of entropy, key generation will
46 // block until more entropy is available.
47 //
48 // To solve that a hardware entropy generator or
49 // an entropy gathering daemon may be installed (e.g. randomsound).
50 $config['enigma_keygen_server'] = false;
4bb44c 51
AM 52 // With this option you can lock composing options
53 // of the plugin forcing the user to use configured settings.
54 // The array accepts: 'sign', 'encrypt', 'pubkey'.
55 //
56 // For example, to force your users to sign every email,
57 // you should set:
58 //     - enigma_sign_all     = true
59 //     - enigma_options_lock = array('sign')
60 //     - dont_override       = array('enigma_sign_all')
61 $config['enigma_options_lock'] = array();