Bugzilla – Attachment 133322 Details for
Bug 28998
Encrypt borrowers.secret
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28998: Add encryption_key to the config file
Bug-28998-Add-encryptionkey-to-the-config-file.patch (text/plain), 3.19 KB, created by
Marcel de Rooy
on 2022-04-14 14:31:09 UTC
(
hide
)
Description:
Bug 28998: Add encryption_key to the config file
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-04-14 14:31:09 UTC
Size:
3.19 KB
patch
obsolete
>From 2d886b47eab2aa8e3b7f79ecf684d4a4e5005d1b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 10 Sep 2021 17:16:37 +0200 >Subject: [PATCH] Bug 28998: Add encryption_key to the config file >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/templates/koha-conf-site.xml.in | 3 +++ > etc/koha-conf.xml | 5 ++++- > t/Koha/Config.t | 1 + > t/data/koha-conf.xml | 5 ++++- > 4 files changed, 12 insertions(+), 2 deletions(-) > >diff --git a/debian/templates/koha-conf-site.xml.in b/debian/templates/koha-conf-site.xml.in >index 20d217222d..2e66535c00 100644 >--- a/debian/templates/koha-conf-site.xml.in >+++ b/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 >diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml >index 2c95e2c5eb..6c2c1fe923 100644 >--- a/etc/koha-conf.xml >+++ b/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 >diff --git a/t/Koha/Config.t b/t/Koha/Config.t >index 60df194546..dbee1529be 100755 >--- a/t/Koha/Config.t >+++ b/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' => '', >diff --git a/t/data/koha-conf.xml b/t/data/koha-conf.xml >index ae5faf6fef..5a5d5c3ba0 100644 >--- a/t/data/koha-conf.xml >+++ b/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 >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28998
:
124772
|
124773
|
124774
|
133291
|
133317
|
133318
|
133319
|
133320
|
133321
|
133322
|
133323
|
133523
|
133524
|
133525
|
133526
|
133527
|
133528
|
133529
|
133580
|
133581
|
133582
|
133583
|
133584
|
133585
|
133586
|
133588
|
133619
|
133620
|
133621
|
133622
|
133623
|
133624
|
133625
|
133626
|
133627
|
133628
|
133629
|
133631
|
133632
|
133633
|
133634
|
133635
|
133636
|
133637
|
133638
|
133639
|
133640
|
133641
|
133642
|
133645
|
133646
|
133647
|
133648
|
133649
|
133650
|
133651
|
133652
|
133653
|
133654
|
133655
|
134636
|
134637
|
134671