10000 add ed22519 support · Issue #786 · PyMySQL/PyMySQL · GitHub
[go: up one dir, main page]

Skip to content
add ed22519 support #786
Closed
Closed
@zzzeek

Description

@zzzeek

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 folder pymysql/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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0