oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Feng (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBER-60) MD5 hex token length problem
Date Fri, 14 Sep 2012 15:38:07 GMT

     [ https://issues.apache.org/jira/browse/AMBER-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raymond Feng resolved AMBER-60.
-------------------------------

    Resolution: Fixed

Fixed under r1384824. Thanks for catching the issue.
                
> 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
>            Assignee: Raymond Feng
>            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

Mime
View raw message