json_web_token_ex
json_web_token_ex copied to clipboard
New release
Hello @garyf,
Any plans to push a new release out?
I'm sure you know already but the current version is broken with OTP 20 (and there is already a fix in master!).
Thanks!
Hi @stevedomin,
With Elixir v1.5.1 (Erlang/OTP 20 [erts-9.0.4]) mix test is ✅ What issue(s) are you seeing?
Hi, it looks like the Erlang :crypto library has removed the mpint function in OTP 20, which makes json_web_token throw an undef error inside module: JsonWebToken.Algorithm.Rsa and function: def modulus(key), do: :crypto.mpint(Enum.at key, 1).
The error occurred with the setup
- OTP v20,
- Elixir v1.5.1, and
- json_web_token v0.2.8.
@garyf exactly the issue @dragonwasrobot described. It has been fixed here: https://github.com/garyf/json_web_token_ex/commit/2a13b6007bb0e5993b63666cfd3011ddf504543a