cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1447) SimpleAuthenticator MD5 support
Date Wed, 08 Sep 2010 01:52:33 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907055#action_12907055
] 

Stu Hood commented on CASSANDRA-1447:
-------------------------------------

>From Peter Nerg on CASSANDRA-1474:
{quote}
When running the SimpleAuthenticator in MD5 mode it will try to compare the plain text password
with a MD5 digest from the passwd.properties file.
However the password in the property file is already a MD5 digest thus it's now digested twice.
Code snippet
"
case MD5:
authenticated = MessageDigest.isEqual(password.getBytes(), MessageDigest.getInstance("MD5").digest(props.getProperty(username).getBytes()));
break;
"
{quote}

> SimpleAuthenticator MD5 support
> -------------------------------
>
>                 Key: CASSANDRA-1447
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1447
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stu Hood
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> ...is broken, or not working as expected. Needs a look before 0.7.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message