Peter Turcsanyi created AMBER-60:
------------------------------------

             Summary: MD5 hex token length problem
                 Key: AMBER-60
                 URL: https://issues.apache.org/jira/browse/AMBER-60
             Project: Amber
          Issue Type: Bug
          Components: OAuth 2.0 - Authorization Server
    Affects Versions: 0.22
            Reporter: Peter Turcsanyi
            Priority: Minor


The length of MD5 tokens should be 32 in hex string format. Sometimes the token 
is shorter.
Cause:
In MD5Generator.generatevalue() method byte values less than 16 are converted 
to only one hex character. Eg. 12 is contverted to "c", but should be "0c".

--
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

Reply via email to