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

Support CLIENT_PLUGIN_AUTH for mysql_native_password over tls #68

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

lanklaas
Copy link

@lanklaas lanklaas commented Oct 25, 2024

Used some of the code in the open PR and tried to resolve as many of your comments on that PR in this one.

Main

This adds support for username password authentication over tls only. If tls is not enabled or configured password auth will not be advertised.

Additional

  • Added a test for the new feature
  • Fixes the jdbc connector j issue (Tested with mysql-connector-j-8.2.0)
  • Add an example of how to configure the server to get jdbc working.
  • Bump mysql_common and rustls

Pierre Laas added 11 commits October 24, 2024 05:44
This adds support for CLIENT_PLUGIN_AUTH only when tls is enabled. This
is because the default that is implemented here is mysql_native_password
and this auth method is no longer secure.
Forgot to add this check back from main. If this check does not happen
then the client get unexpected eof
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

Successfully merging this pull request may close these issues.

1 participant