Dashboard with otp24

hello,
updated with otp 24, elixir and phoenix updated,
the phoenix dashboard reports:

function :crypto.hmac/3 is undefined or private

any hint?
thanks

your code is calling that deprecated function somewhere, can you check more of the error message for where/which dependency is calling the function?

and then update that dependency or your own code using that deprecated function - maybe see Incompatibility with Erlang/OTP 24 · Issue #9 · riverrun/one_time_pass_ecto · GitHub for a few pointers…

1 Like

Old version of plug_crypto depends on :crypto.hmac/3 provided by OTP < 24.

Two solutions:

  • Update phoenix to 1.5.8 or later.
  • Update plug_crypto to a compatible version.
2 Likes