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

add support for OTP-24 #22

Closed
wants to merge 1 commit into from
Closed

add support for OTP-24 #22

wants to merge 1 commit into from

Conversation

tobstarr
Copy link
Contributor

:crypto.hmac/3 was removed in favor of :crypto.mac/4 which was added to in OTP 22.1.

This patch keeps the compatibility with OTP < 22.1 by checking if :crypto.mac/4 is available.

`:crypto.hmac/3` was removed in favor of `:crypto.mac/4` which was added to in OTP 22.1.

This patch keeps the compatibility with OTP < 22.1 by checking if `:crypto.mac/4` is available.
@tobstarr tobstarr mentioned this pull request Jun 17, 2021
@TheFirstAvenger
Copy link

Thank you @tobstarr, this will unblock our use of ExTwitter on OTP 24!

@tofran
Copy link

tofran commented Jul 26, 2021

Thank you @tobstarr

@lexmag what do you think? Can this be merged?

@stevenpdq
Copy link

I would love to see this merged too. I'm blocked on finishing the ExTwitter project, running through the Getting Started with Elixir course on pluralsight.

hashrocketeer added a commit to hashrocket/tilex that referenced this pull request Aug 6, 2021
The newest versions of OTP do not have `:crypto.hmac/3` anymore and this
has broken TIL integration with Twitter since the last big app bump to
use OTP 24. `extwitter` library uses `oauther` which does not have
changed the `:crypto.mac/4` yet, so we're going to use this hot fix
branch for now.

For reference:
lexmag/oauther#22
parroty/extwitter#140
hashrocketeer added a commit to hashrocket/tilex that referenced this pull request Aug 6, 2021
The newest versions of OTP do not have `:crypto.hmac/3` anymore and this
has broken TIL integration with Twitter since the last big app bump to
use OTP 24. `extwitter` library uses `oauther` which does not have
changed the `:crypto.mac/4` yet, so we're going to use this hot fix
branch for now.

For reference:
lexmag/oauther#22
parroty/extwitter#140
hashrocketeer added a commit to hashrocket/tilex that referenced this pull request Aug 6, 2021
The newest versions of OTP do not have `:crypto.hmac/3` anymore and this
has broken TIL integration with Twitter since the last big app bump to
use OTP 24. `extwitter` library uses `oauther` which does not have
changed the `:crypto.mac/4` yet, so we're going to use this hot fix
branch for now.

For reference:
lexmag/oauther#22
parroty/extwitter#140
@lobo-tuerto
Copy link

Any updates on this @lexmag?

@vincentvella
Copy link

If you don't mind a butt ton of errors @stevenpdq , @TheFirstAvenger
You can unblock yourselves by adding
{:oauther, git: "https://github.com/tobstarr/oauther", override: true}
to your mix.exs file.
This will override the dependency set in extwitter temporarily until this is merged

hashrocketeer added a commit to hashrocket/tilex that referenced this pull request Aug 24, 2021
The newest versions of OTP do not have `:crypto.hmac/3` anymore and this
has broken TIL integration with Twitter since the last big app bump to
use OTP 24. `extwitter` library uses `oauther` which does not have
changed the `:crypto.mac/4` yet, so we're going to use this hot fix
branch for now.

For reference:
lexmag/oauther#22
parroty/extwitter#140
@dbernheisel
Copy link
Contributor

This PR is no longer needed since #24 was merged.

@lexmag
Copy link
Owner

lexmag commented Aug 27, 2021

This patch has been merged as part of #24.

@lexmag lexmag closed this Aug 27, 2021
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.

8 participants