[Koha] Adding an encryption_key to koha-conf.xml

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Jun 30 19:20:55 NZST 2022


Hello Mike,

I opened bug 31059.
You can use a string that is considered a strong password.
Out of the box Koha does not provide a script to edit this file, but
you could write a script for that (open the xml, generate a key, add
the missing entry, write the xml) then use koha-foreach to run it for
each koha site.

Regards,
Jonathan

Le sam. 25 juin 2022 à 12:21, Mike Lake <mikel at speleonics.com.au> a écrit :
>
> Hi All
>
> Just upgraded tonight from Koha 21.11.05.000 to 22.05.00-1
> That all went fine.
>
> The About Koha page now says:
> "Warning: You are missing the <encryption_key> entry in your
> koha-conf.xml file. Please generate a key."
>
> I can see a place for this is the koha-conf-site.xml.in file (and a
> suggestion to use pwgen 32) but how do you process this to the
> koha-conf.xml files for each site?
>
> The "pwgen 32" suggests this should be 32 characters and is itself just
> something that no one should be able to guess. So I can can just put
> anything in there that is long and complex?
>
> I could not find anything about this is the docs or wiki or recent
> emails, just the patch for it in the github repo via Google.
>
> Thanks
> Mike
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list