[Tickets #12962] Encrypted MySQL Password

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Feb 10 14:03:35 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12962
------------------------------------------------------------------------------
  Ticket             | 12962
  Created By         | stwagner at openst.de
  Summary            | Encrypted MySQL Password
  Queue              | Passwd
  Version            | 5.0.1
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


stwagner at openst.de (2014-02-10 14:03) wrote:

It seems that there is no configuration option if passwords stored  
within an MySQL database and the passwords are encrypted by MySQLs  
password function.
The check of old password fail because, of missing algorithm that  
matches MySQLs password().

I propose to extend the getCryptedPassword function of Auth.php class  
with a MySQL password hash function (PHP-based). MySQL passwords are  
then supported by the encryption option 'mysql' in the 'sql' section  
of backends.php.

Patch attached.





More information about the bugs mailing list