Uploaded image for project: 'MariaDB Connector/R2DBC'
  1. MariaDB Connector/R2DBC
  2. R2DBC-112

failed authentication when using `caching_sha2_password` with passwords longer than 18 characters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • authentication
    • None

    Description

      Authentication failed when using `caching_sha2_password` with passwords longer than 18 characters on MySQL 8.x when SSL was disabled.

      The bug is in `Sha256PasswordPacket.java` where the seed (scramble) is being incorrectly truncated before the XOR operation for RSA public key encryption.

      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.