perl -MKoha::Encryption -e'print Koha::Encryption->new->encrypt_hex("test");' Can't locate object method "config" via package "C4::Context" (perhaps you forgot to load "C4::Context"?) at /usr/share/koha/Koha/Encryption.pm line 56. Trivial fix.
Created attachment 136567 [details] [review] Bug 31053: Add Context module to Koha::Encryption Test plan: perl -MKoha::Encryption -e'print Koha::Encryption->new->encrypt_hex("test");' Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Taking liberty to switch to PQA rightaway
Pushed to master for 22.11. Nice work everyone, thanks!
Backported to 22.05.x for 22.05.04
Koha/Encryption is missing in 21.11. not backporting.