elixir-ecto / myxql

MySQL 5.5+ driver for Elixir
Apache License 2.0
271 stars 66 forks source link

`warning: :public_key.encrypt_public/3 is deprecated.` #185

Closed wojtekmach closed 1 month ago

wojtekmach commented 3 months ago
    warning: :public_key.encrypt_public/3 is deprecated. Do not use
    │
 28 │     :public_key.encrypt_public(xor, public_key, rsa_pad: :rsa_pkcs1_oaep_padding)
    │                 ~
    │
    └─ lib/myxql/protocol/auth.ex:28:17: MyXQL.Protocol.Auth.encrypt_sha_password/3

My understanding is there is no replacement at the moment. More details in https://erlangforums.com/t/security-working-group-minutes/3451/6 and let's keep an eye there.

wojtekmach commented 1 month ago

The deprecation will be reverted in OTP 27.1. See https://github.com/erlang/otp/pull/8700.