Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: simonleung on November 20, 2025, 12:18:45 PM

Title: Does Roundcube support ssha512 password hash?
Post by: simonleung on November 20, 2025, 12:18:45 PM
Does Roundcube support ssha512 password hash?
Title: Re: Does Roundcube support ssha512 password hash?
Post by: SKaero on November 20, 2025, 01:14:58 PM
In what context are you asking about the hash support? Roundcube supports ssha512 in the password plugin for changing passwords. The hash type doesn't matter when using normal Roundcube operations.
Title: Re: Does Roundcube support ssha512 password hash?
Post by: simonleung on November 20, 2025, 09:15:26 PM
Quote from: SKaero on November 20, 2025, 01:14:58 PMIn what context are you asking about the hash support? Roundcube supports ssha512 in the password plugin for changing passwords. The hash type doesn't matter when using normal Roundcube operations.

I enabled the password hash in the configuration file of Roundcube as follows.

$config['password_algorithm'] = 'ssha512';

$config['password_ldap_encodage'] = 'ssha512';
 
Still, I could not change the password of mailbox on Roundcube webmail and found the error in the log file as follows.


[21-Nov-2025 10:10:39 +0800]: <3tcldptb> PHP Error: HIT ssha (POST /?_task=settings&_action=plugin.password-save)


Do Roundcube and php support ssha512?
Title: Re: Does Roundcube support ssha512 password hash?
Post by: SKaero on November 21, 2025, 01:29:55 AM
Roundcube supports ssha512 in the password plugin but does require hashing support in PHP. I'm not sure what that error message means or exactly where that would come from, is that an error that you added for debugging?
Title: Re: Does Roundcube support ssha512 password hash?
Post by: simonleung on November 21, 2025, 01:55:21 AM
Quote from: SKaero on November 21, 2025, 01:29:55 AMRoundcube supports ssha512 in the password plugin but does require hashing support in PHP. I'm not sure what that error message means or exactly where that would come from, is that an error that you added for debugging?

I found that error in the file /var/www/roundcube/logs/password.log