0
|
1 <?php
|
|
2
|
|
3 // Enigma Plugin options
|
|
4 // --------------------
|
|
5
|
|
6 // A driver to use for PGP. Default: "gnupg".
|
|
7 $config['enigma_pgp_driver'] = 'gnupg';
|
|
8
|
|
9 // A driver to use for S/MIME. Default: "phpssl".
|
|
10 $config['enigma_smime_driver'] = 'phpssl';
|
|
11
|
|
12 // Enables logging of enigma operations (including Crypt_GPG debug info)
|
|
13 $config['enigma_debug'] = false;
|
|
14
|
|
15 // Keys directory for all users. Default 'enigma/home'.
|
|
16 // Must be writeable by PHP process
|
|
17 $config['enigma_pgp_homedir'] = null;
|
|
18
|
|
19 // Location of gpg binary. By default it will be auto-detected.
|
|
20 // This is also a way to force gpg2 use if there are both 1.x and 2.x on the system.
|
|
21 $config['enigma_pgp_binary'] = '';
|
|
22
|
|
23 // Location of gpg-agent binary. By default it will be auto-detected.
|
|
24 // It's used with GnuPG 2.x.
|
|
25 $config['enigma_pgp_agent'] = '';
|
|
26
|
|
27 // Location of gpgconf binary. By default it will be auto-detected.
|
|
28 // It's used with GnuPG >= 2.1.
|
|
29 $config['enigma_pgp_gpgconf'] = '';
|
|
30
|
|
31 // Enables signatures verification feature.
|
|
32 $config['enigma_signatures'] = true;
|
|
33
|
|
34 // Enables messages decryption feature.
|
|
35 $config['enigma_decryption'] = true;
|
|
36
|
|
37 // Enables messages encryption and signing feature.
|
|
38 $config['enigma_encryption'] = true;
|
|
39
|
|
40 // Enable signing all messages by default
|
|
41 $config['enigma_sign_all'] = false;
|
|
42
|
|
43 // Enable encrypting all messages by default
|
|
44 $config['enigma_encrypt_all'] = false;
|
|
45
|
|
46 // Enable attaching a public key to all messages by default
|
|
47 $config['enigma_attach_pubkey'] = false;
|
|
48
|
|
49 // Default for how long to store private key passwords (in minutes).
|
|
50 // When set to 0 passwords will be stored for the whole session.
|
|
51 $config['enigma_password_time'] = 5;
|
|
52
|
|
53 // With this option you can lock composing options
|
|
54 // of the plugin forcing the user to use configured settings.
|
|
55 // The array accepts: 'sign', 'encrypt', 'pubkey'.
|
|
56 //
|
|
57 // For example, to force your users to sign every email,
|
|
58 // you should set:
|
|
59 // - enigma_sign_all = true
|
|
60 // - enigma_options_lock = array('sign')
|
|
61 // - dont_override = array('enigma_sign_all')
|
|
62 $config['enigma_options_lock'] = array();
|