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

Update Jose to support OTP24 #674

Merged
merged 2 commits into from
Jun 4, 2021
Merged

Update Jose to support OTP24 #674

merged 2 commits into from
Jun 4, 2021

Conversation

drumusician
Copy link
Contributor

In are moving our apps to OTP24 / Elixir 1.12 and as guardian is still using an outdated Jose version, we were unable to upgrade due to the a deprecated function:

Warning: crypto:hmac/3 is deprecated and will be removed in OTP 24; use use crypto:mac/4 instead

This PR updates Jose and also updates 1 function that Guardian uses from Jose that has also changed.

These seemed to have worked for our apps, but I am really not sure if it is this simple. I wanted to push this back to you guys so you can check if this is as simple as updating this or if it is more involved than that.

Looking forward to what you guys think. In the meantime I'll use my fork to test our apps with these changes. If I do encounter any issues, I'll be sure to flag them here as well.

@drumusician drumusician requested a review from a team as a code owner June 4, 2021 20:43
@yordis yordis merged commit 92601b0 into ueberauth:master Jun 4, 2021
@yordis
Copy link
Member

yordis commented Jun 4, 2021

🚀

@eriklindgren
Copy link

A new release with this would be awesome, it's currently preventing us too from upgrading to OTP 24. Thanks for all your hard work!

@atomkirk
Copy link

Is this lib abandoned? A release would be great. any workarounds?

@eriklindgren
Copy link

@atomkirk the updated version has actually been released: https://hex.pm/packages/guardian/2.2.0

@atomkirk
Copy link

Oh, any idea why its not updated here

https://github.com/ueberauth/guardian/releases

@yordis
Copy link
Member

yordis commented Aug 22, 2021

@atomkirk we were using tag instead of releases to kick the release pipeline, I fixed that here: #684

Which will make sure people use Releases instead of tags, sorry for the confusion, trying to clean up little by little.

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.

4 participants