danielberkompas / ex_twilio

Twilio API client for Elixir
MIT License
334 stars 146 forks source link

Use mac instead of hmac, as it was deprecated in otp 24 #153

Closed 3duard0 closed 3 years ago

3duard0 commented 3 years ago

OTP 24 deprecates :crypto.hmac/3.

Using the same fix implemented in plug crypto: https://github.com/elixir-plug/plug_crypto/blob/master/lib/plug/crypto/message_verifier.ex#L98