Closed
Description
Looking at issues like #651, #532, #583, it looks like pymysql does not wish to support any client side authentication modules, such as sha256, or ed25519 which is what MariaDB supports. Two of the issues seem to be closed without any explanation though in #583 I see statements like "I don't want to add dependency" "Please move your code to pymysql/auth/sha256password.py".
It doesn't seem like there is a "pymysql/auth" folder in the source tree.
I have a need to understand what the path is here, my immediate use case is the ed25519 plugin. So here are what I see as all the possible choices, you can check these off:
- PyMySQL supports pluggable authentication schemes via the
auth_plugin_map
parameter, and we welcome contributors to add these plugins to an as-yet-not-created folderpymysql/auth
. PyMySQL will distribute the plugins but not support them unless their authors do - PyMySQL supports pluggable authentication schemes, but does NOT want any of the source code in the PyMySQL repo. Please publish your plugins on pypi and maintain them separately. (are there any such plugins ? I couldn't find any)
- PyMySQL does not support authentication plugins at all, you've misunderstood what the
auth_plugin_map
argument does. You will need to use mysql-connector-python or mysqlclient (does the latter support them?) - other
Metadata
Metadata
Assignees
Labels
No labels