Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7569 Direct Binary Access
  3. OAK-7692

[DirectBinaryAccess] Upload token HMAC signature must be base64 encoded

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.7
    • blob-plugins
    • None

    Description

      The upload token's hmac signature (after the #) is not base64 encoded. This might create problems for clients passing that string around if it can contain non-ascii characters.

      Example:

      ZDI4Zi1[...]jcuNzg3Wg==#i�_�\��?��S��,0:�
      

      Code is here.

      Should probably do a Base64.encode() of the hash result of the hmac.

      Attachments

        1. OAK-7692.patch
          8 kB
          Alexander Klimetschek

        Activity

          People

            alexander.klimetschek Alexander Klimetschek
            alexander.klimetschek Alexander Klimetschek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: