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

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

Closed
wojtekmach opened this issue Jun 10, 2024 · 1 comment
Closed

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

wojtekmach opened this issue Jun 10, 2024 · 1 comment

Comments

@wojtekmach
Copy link
Member

    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 wojtekmach changed the title warning: :public_key.encrypt_public/3 is deprecated. Do not use warning: :public_key.encrypt_public/3 is deprecated. Jul 8, 2024
@wojtekmach
Copy link
Member Author

The deprecation will be reverted in OTP 27.1. See erlang/otp#8700.

@wojtekmach wojtekmach closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
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

No branches or pull requests

1 participant