Uploaded image for project: 'Apache Oltu'
  1. Apache Oltu
  2. OLTU-9

MD5 hex token length problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • oauth2-0.22
    • oauth2-common
    • None

    Description

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

      Attachments

        Activity

          People

            rfeng Zhaohui Feng
            turcsanyip Peter Turcsanyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: