summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-09-05 06:24:37 +0000
committerGo MAEDA <maeda@farend.jp>2020-09-05 06:24:37 +0000
commit28dd747fc6e54dd07a5897d1936d97f976a5fef1 (patch)
tree0c8f33d747d92d9e5b3fb23d1eecfb4639992340 /config
parent9b1b10620b568c8f2acd8e8906f18c0eb31e02b2 (diff)
downloadredmine-28dd747fc6e54dd07a5897d1936d97f976a5fef1.tar.gz
redmine-28dd747fc6e54dd07a5897d1936d97f976a5fef1.zip
Rake tasks db:encrypt and db:decrypt now supports TOTP secret keys (#1237, #33929).
git-svn-id: http://svn.redmine.org/redmine/trunk@20005 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/configuration.yml.example7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/configuration.yml.example b/config/configuration.yml.example
index 5dbb7170c..4001c5aba 100644
--- a/config/configuration.yml.example
+++ b/config/configuration.yml.example
@@ -138,11 +138,12 @@ default:
# scm_stderr_log_file: /var/log/redmine_scm_stderr.log
scm_stderr_log_file:
- # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
+ # Key used to encrypt sensitive data in the database (SCM passwords,
+ # LDAP passwords, and TOTP (two-factor authentication) secret keys).
# 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:
+ # If you want to encrypt existing data in your database:
# * set the cipher key here in your configuration file
# * encrypt data using 'rake db:encrypt RAILS_ENV=production'
#
@@ -150,7 +151,7 @@ default:
# * 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:
+ database_cipher_key: 'foo'
# Set this to false to disable plugins' assets mirroring on startup.
# You can use `rake redmine:plugins:assets` to manually mirror assets