[Koha] Koha ILS Driver for Vufind

Mark Tompsett mtompset at hotmail.com
Fri Mar 6 06:13:36 NZDT 2015


Greetings,

The Koha did not write the driver. This is a VuFind issue.

I took a quick look by:
$ git clone https://github.com/vufind-org/vufind.git
$ vi ~/vufind/module/VuFind/src/VuFind/ILS/Driver/Koha.php
-- And around line 484:

// Koha uses MD5_BASE64 encoding to save borrowers' passwords, function
// 'rtrim' is used to discard trailing '=' signs, suitable for pushing
// into MySQL database
$db_pwd = rtrim(base64_encode(pack('H*', md5($password))), '=');

Correct that code on the VuFind repository and happiness should be restored. 
Sorry, but how to correct these lines is left as an exercise for someone who 
knows:
- how to provide patches to VuFind
- Koha, and
- PHP.
Sorry, but I don't know the first.

In summary, this is a VuFind issue, not a Koha issue.

GPML,
Mark Tompsett

P.S. I have an untested attempt at a re-write of the problematic function. 



More information about the Koha mailing list