-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Implement ED25519 auth for mysqlnd #14258
Comments
I remember looking into this some time ago. And I noped out when I learned that MariaDB invented their own variant of ED25519: https://jira.mariadb.org/browse/MDEV-19217 |
Hey @nielsdos |
At least, MariaDB's deviates from standard ed25519, so I'm not sure if we should rush to deal with it now... |
Sometimes doing nothing pays out. We're releasing a new authentication plugin https://mariadb.com/kb/en/authentication-plugin-parsec/ — it uses stock ed25519 from OpenSSL or GnuTLS, not modified. |
That’s great. |
Plez sir, can we have it |
Hello @nielsdos |
It's still in my TODO list, and I have a partial implementation of the parsec protocol. The ed25519 protocol from MariaDB is actually non-standard, while the parsec protocol (based on the same algorithms) is, so that's why I favor the latter. |
Description
Overview
Since MariaDB
10.4
(released ~5 years ago) introduced an authentication method calledauth_ed25519
and still supported till now in the latest versions of MariaDB which is now11.3
, here's official to read more aboutauth_ed25519
The Problem
As this code of PHP 8.1.0 ( Located in https://github.com/php/php-src/blob/php-8.1.0/ext/mysqlnd/mysqlnd_auth.c#L1315-L1326 ) mentioned below that
auth_ed25519
is not supported yet.Also, here's what official MariaDB said about
mysql_native_password
:The Requested Features
More on this
The text was updated successfully, but these errors were encountered: