Browse Source

Bug 28998: Add encryption_key to the config file

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
rmain2205
Jonathan Druart 10 months ago
committed by Fridolin Somers
parent
commit
f62c485bb7
  1. 3
      debian/templates/koha-conf-site.xml.in
  2. 5
      etc/koha-conf.xml
  3. 1
      t/Koha/Config.t
  4. 5
      t/data/koha-conf.xml

3
debian/templates/koha-conf-site.xml.in

@ -397,6 +397,9 @@ __END_SRU_PUBLICSERVER__
<!-- This is the bcrypt settings used to generated anonymized content -->
<bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
<!-- Encryption key for crypted password or sensitive data -->
<encryption_key>__ENCRYPTION_KEY__</encryption_key>
<!-- flag for development purposes
dev_install is used to adjust some paths specific to dev installations
strict_sql_modes should not be used in a production environment

5
etc/koha-conf.xml

@ -211,9 +211,12 @@
server. e.g. Antarctica/South_Pole -->
<timezone></timezone>
<!-- This is the bcryt settings used to generated anonymized content -->
<!-- This is the bcrypt settings used to generated anonymized content -->
<bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
<!-- Encryption key for crypted password or sensitive data -->
<encryption_key>__ENCRYPTION_KEY__</encryption_key>
<!-- flag for development purposes
dev_install is used to adjust some paths specific to dev installations
strict_sql_modes should not be used in a production environment

1
t/Koha/Config.t

@ -218,6 +218,7 @@ subtest 'read_from_file() tests' => sub {
},
'timezone' => '',
'bcrypt_settings' => '__BCRYPT_SETTINGS__',
'encryption_key' => '__ENCRYPTION_KEY__',
'dev_install' => '0',
'strict_sql_modes' => '0',
'plugin_repos' => '',

5
t/data/koha-conf.xml

@ -216,9 +216,12 @@
server. e.g. Antarctica/South_Pole -->
<timezone></timezone>
<!-- This is the bcryt settings used to generated anonymized content -->
<!-- This is the bcrypt settings used to generated anonymized content -->
<bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
<!-- Encryption key for crypted password or sensitive data -->
<encryption_key>__ENCRYPTION_KEY__</encryption_key>
<!-- flag for development purposes
dev_install is used to adjust some paths specific to dev installations
strict_sql_modes should not be used in a production environment

Loading…
Cancel
Save