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

Make JWT::JWK::EC compatible with Ruby 2.3 #386

Merged
merged 2 commits into from Dec 12, 2020
Merged

Conversation

anakinj
Copy link
Member

@anakinj anakinj commented Dec 2, 2020

Seems that the OpenSSL::PKey::EC#generate_key! method is not available in Ruby 2.3 without installing the openssl gem.

This other PR that is making the CIactually test the supported Rubies and combinations revealed that:
https://travis-ci.org/github/jwt/ruby-jwt/jobs/747060754

@sourcelevel-bot
Copy link

SourceLevel has finished reviewing this Pull Request and has found:

  • 2 possible new issues (including those that may have been commented here).

See more details about this review.

@anakinj
Copy link
Member Author

anakinj commented Dec 4, 2020

@richardlarocque Are you OK with these changes. Unfortunately think we need to support the EOL rubies as long as the gemspec claims we do. Hoping to drop support for the oldies soon

@anakinj anakinj changed the title Make tests for the JWT::JWK::EC compatible with Ruby 2.3 Make JWT::JWK::EC compatible with Ruby 2.3 Dec 4, 2020
@anakinj
Copy link
Member Author

anakinj commented Dec 12, 2020

I'll go on and merge this to get the tests green.

@anakinj anakinj merged commit 7475c50 into jwt:master Dec 12, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant