-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Native Windows support for mysqlnd sha256 authentification #5210
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
Conversation
We implement that on top of Cryptography API: Next Generation (CNG).
@johannes, @andreyhristov, @weltling, you may want to review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Did you do some manual testing for this functionality? We don't have tests for it.
@nikic, thanks! I tested with MySQL 8.0.19 on Windows (users with caching_sha2_password and sha256_password authentication); all mysqli and pdo_mysql tests succeeded. I did not test on other systems. |
Any further comments on this PR? If there are no objections, I'll merge this on Monday, so it makes it into PHP 7.4.4 (obviously, some users are eagerly waiting for this functionality). |
We implement that on top of Cryptography API: Next Generation (CNG).