Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECDSA compatibility broken between Ruby's JWT implementation and PyJWT #168

Closed
cica-doug opened this issue Jun 5, 2015 · 3 comments
Closed

Comments

@cica-doug
Copy link

I've got some code that receives ECDSA signed JWTs and upon upgrading to PyJWT 1.3.0 users submitting JWT's created with Ruby's JWT library (https://github.com/progrium/ruby-jwt) no longer appear valid. I get the following error: "DecodeError: Signature verification failed". Not sure if this is expected behavior as a result of #158 or if there could possibly be a compatibility flag added?

@mark-adams
Copy link
Contributor

I think you're right. This appears to be the result of our fix in #158. I've filed a bug with ruby-jwt so that they can fix their implementation as well. Thanks for contributing! 😄

@mark-adams
Copy link
Contributor

This has been fixed via an update to ruby-jwt

@jpadilla
Copy link
Owner

@mark-adams thanks following up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants