[Koha-bugs] [Bug 28911] New: Bcrypt settings are required for pseudonymization but are not set on upgrade

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 27 15:52:38 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28911

            Bug ID: 28911
           Summary: Bcrypt settings are required for pseudonymization but
                    are not set on upgrade
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Bug 24151 added a way to pseudonymize patron transactions.

It added a new config to koha-conf <bcrypt_settings>

This is added for new installs, but not for upgraded sites, and there are no
instructions on the syspref or elsewhere for adding

To recreate:
1 - Spin up a 20.05 (checkout 20.05.x and reset_all in kohadevbox)
2 - Upgrade to master (checkout master, updatedatabase)
3 - Enable pseudonymization 
4 - Attempt a checkout
5 - boom

you can manually add the settings by running the command below:
htpasswd -bnBC 10 "" password | tr -d ':\n' | sed 's/$2y/$2a/'

And pasting the results into <bcrypt_settings> in the config

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list