Skip to content

Switch authentication method when client tries to connect using clear text password #4905

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

Open
wants to merge 1 commit into
base: v3.0
Choose a base branch
from

Conversation

yashwantsahu20
Copy link
Contributor

Added for initial brain storming. testing is in progress.
If client uses mysql_clear_password but ProxySQL (default) expects caching_sha2_password or mysql_native_pasword (and no SSL), initiate auth switch to default configured auth plugin For security reasons, we should not allow mysql_clear_password over non-SSL connections if server is configured to use better.

If client uses mysql_clear_password but ProxySQL (default) expects caching_sha2_password or mysql_native_pasword (and no SSL), initiate auth switch to default configured auth plugin
For security reasons, we should not allow mysql_clear_password over non-SSL connections if server is configured to use better.
@yashwantsahu20
Copy link
Contributor Author

Initial requirement: Identify why ProxySQL doesn’t switch authentication method when client tries to connect using clear text password , if this is a generic issue or some specific conditions trigger it. Based on the finding, authentication switch may (or may not) be implemented. TAP test for this can be temporarily skipped.

@renecannao
Copy link
Contributor

Can one of the admins verify this patch?

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.

2 participants