directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lucas theisen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-1884) Incorrect length specified in PaswordUtil.splitCredentials
Date Wed, 14 Aug 2013 21:41:49 GMT
lucas theisen created DIRSERVER-1884:
----------------------------------------

             Summary: Incorrect length specified in PaswordUtil.splitCredentials
                 Key: DIRSERVER-1884
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1884
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: 2.0.0-M14
            Reporter: lucas theisen


Digging through the source i ran into this:

{code:java|title=PasswordUtil.java}
            case HASH_METHOD_SHA384:
            case HASH_METHOD_SSHA384:
                return getCredentials( credentials, algoLength, SHA512_LENGTH, encryptionMethod
);

            case HASH_METHOD_SHA512:
            case HASH_METHOD_SSHA512:
                return getCredentials( credentials, algoLength, SHA512_LENGTH, encryptionMethod
);
{code}

I assume sinc there is a variable defind for SHA384_LENGTH, line 412 should probably read:

{code:java}
                return getCredentials( credentials, algoLength, SHA384_LENGTH, encryptionMethod
);
{code}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message