diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-02-26 13:09:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-02-26 13:09:25 +0000 |
commit | a78d5659593d9fcce02a24a95c0ca0d111706465 (patch) | |
tree | 6b729c9b4f6d1413af78c5fe59a2a29bbc954b44 /config/configuration.yml.example | |
parent | e1ad561cf652713bbdebe2d60fc4c680fb367ec1 (diff) | |
download | redmine-a78d5659593d9fcce02a24a95c0ca0d111706465.tar.gz redmine-a78d5659593d9fcce02a24a95c0ca0d111706465.zip |
Adds support for SCM/LDAP passwords encryption in the database (#7411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/configuration.yml.example')
-rw-r--r-- | config/configuration.yml.example | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/configuration.yml.example b/config/configuration.yml.example index 51030fe90..a729c60c7 100644 --- a/config/configuration.yml.example +++ b/config/configuration.yml.example @@ -124,6 +124,20 @@ default: scm_bazaar_command: scm_darcs_command: + # Key used to encrypt sensitive data in the database (SCM and LDAP passwords). + # If you don't want to enable data encryption, just leave it blank. + # WARNING: losing/changing this key will make encrypted data unreadable. + # + # If you want to encrypt existing passwords in your database: + # * set the cipher key here in your configuration file + # * encrypt data using 'rake db:encrypt RAILS_ENV=production' + # + # If you have encrypted data and want to change this key, you have to: + # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first + # * change the cipher key here in your configuration file + # * encrypt data using 'rake db:encrypt RAILS_ENV=production' + database_cipher_key: + # specific configuration options for production environment # that overrides the default ones production: |