[DBMail 0001040]: Error on pwtype=sha512

Mantis Bug Tracker <[email protected]>
Newsgroups gmane.mail.imap.dbmail.devel
Message-ID <[email protected]>
The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=1040 
====================================================================== 
Reported By:                ktwalrus
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   1040
Category:                   Authentication layer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             04-Feb-14 18:57 CET
Last Modified:              04-Feb-14 18:57 CET
====================================================================== 
Summary:                    Error on pwtype=sha512
Description: 
sha512 password encryption doesn't work.  The problem is that authsql.c
checks that the password hash length is not greater than or equal to 128
(if so, fails with "password length insane").  sha512 hashes are 128
characters long.  Fix is to just change '>= 128' to '> 128' in authsql.c.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
04-Feb-14 18:57  ktwalrus       New Issue                                    
======================================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.