Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-344

PLUGIN_AUTH_LENENC_CLIENT_DATA capability not handled in handshake and COM_CHANGE_USER

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.0.0-rc
    • 2.0.1
    • Other
    • None

    Description

      When the server advertises the PLUGIN_AUTH_LENENC_CLIENT_DATA capability (bit 21), the authentication data length in the handshake response and COM_CHANGE_USER packet must be encoded as a length-encoded integer, which supports values greater than 255.

      The pure-Python connector was ignoring this capability and always falling through to the SECURE_CONNECTION branch, which writes the length as a single byte. This silently truncates passwords whose encoded auth data exceeds 255 bytes, causing authentication failures.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.