Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12320

configurable default authentication plugin for the server

    XMLWordPrintable

Details

    Description

      configurable default authentication plugin for the server.

      "default" applies to the plugin name that the server uses for the first handshake packet, what plugin the server uses when no username is yet known.

      • THD statically allocates 20 bytes for a scramble. Can be extended to 32 or malloc-ed every time
      • MYSQL statically allocates 20 bytes for a scramble. Cannot be changed. The rest can go into the extension area.
      • ed25519/parsec currently don't use the scramle from MYSQL (because it's too short) and request it from the server on every COM_CHANGE_USER. It might be the easiest to keep it that way, still storing the scramble in THD/MYSQL will save one round-trip for ed25519 (but not for parsec).

      Attachments

        1. wip.diff
          8 kB
          Sergei Golubchik

        Issue Links

          Activity

            People

              nikitamalyavin Nikita Malyavin
              serg Sergei Golubchik
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 2d Original Estimate - 2d
                  2d
                  Remaining:
                  Time Spent - 4.25d Remaining Estimate - 1.75d
                  1.75d
                  Logged:
                  Time Spent - 4.25d Remaining Estimate - 1.75d
                  4.25d

                  Git Integration

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