yourkarma / JWT

A JSON Web Token implementation in Objective-C.
MIT License
351 stars 107 forks source link

RS algorithm encoding part mismatch signature. #114

Closed lolgear closed 7 years ago

lolgear commented 7 years ago

New Issue Checklist

Issue Info

Info Value
Platform Name e.g. ios / osx / tvos / watchos
Platform Version e.g. 8.0
CocoaLumberjack Version e.g. 2.3.0
Integration Method e.g. carthage / cocoapods / manually
Xcode Version e.g. Xcode 7.3
Repro rate e.g. all the time (100%) / sometimes x% / only once
Demo project link e.g. link to a demo project that highlights the issue

Issue Description and Steps

Curiously:

RS Algorithm generates different signature on existing test data while encoding. However, decoding part works smoothly.

lolgear commented 7 years ago

https://github.com/yourkarma/JWT/commit/7cc43d817522b5e37455ccca35c9c2f9084acfea

commit hides broken test :(