You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.inc.php.dist 2.3KB

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