Aleksander Machniak
2016-04-02 96c3d84cddb861956cfbc719d694eb972343f1c3
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
T 12 // Keys directory for all users. Default 'enigma/home'.
13 // Must be writeable by PHP process
bcedf0 14 $config['enigma_pgp_homedir'] = null;
a99c34 15
765736 16 // Enables signatures verification feature.
AM 17 $config['enigma_signatures'] = true;
18
19 // Enables messages decryption feature.
20 $config['enigma_decryption'] = true;
21
1459f8 22 // Enables messages encryption and signing feature.
AM 23 $config['enigma_encryption'] = true;
24
a99c34 25 // Enable signing all messages by default
AM 26 $config['enigma_sign_all'] = false;
27
28 // Enable encrypting all messages by default
29 $config['enigma_encrypt_all'] = false;
765736 30
96c3d8 31 // Enable attaching a public key to all messages by default
7ce958 32 $config['enigma_attach_pubkey'] = false;
KF 33
765736 34 // Default for how long to store private key passwords (in minutes).
AM 35 // When set to 0 passwords will be stored for the whole session.
36 $config['enigma_password_time'] = 5;
a0dfcb 37
AM 38 // Enables server-side keys generation which would be used
39 // if user browser does not support web-crypto features.
40 //
41 // WARNING: Key generation requires true random numbers, and as such can be
42 // slow. If the operating system runs out of entropy, key generation will
43 // block until more entropy is available.
44 //
45 // To solve that a hardware entropy generator or
46 // an entropy gathering daemon may be installed (e.g. randomsound).
47 $config['enigma_keygen_server'] = false;