Uploaded image for project: 'Spring Security OAuth'
  1. Spring Security OAuth
  2. SECOAUTH-56

Certain characters in signature are not validating properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 1.0.0.M3
    • Fix Version/s: 1.0.0
    • Component/s: OAuth 1
    • Labels:
      None
    • Environment:
      Mac OS X 10.6.7, Java 6

      Description

      There seems to be an issue where certain characters in the signature are creating validation to fail. Here is an example (using HMAC-SHA1 for signature method):

      Signature as generated on the consumer side (using CoreOAuthConsumerSupport to make the call): KoCR1Z1PeM/+sCoptySENMEh2xw=
      Signature as generated on the provider side: KoCR1Z1PeM/ sCoptySENMEh2xw=

      Notice how the + is missing on the provider side. My guess is this has something to do with URLEncoding/Decoding. This is difficult to replicate since the signature needs a + sign in it after generation.

        Attachments

          Activity

            People

            • Assignee:
              david_syer Dave Syer
              Reporter:
              atberman Andrew Berman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: