Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-833

PARSEC credential cache

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • 3.4
    • None
    • None

    Description

      on connecting a client needs to

      1. get "change plugin packet" from the server to switch to
      2. compute the private key, PBKDF2 is intentionally slow, see this comment
      3. request the ext-salt from the server, it costs a round-trip.

      The client could keep a local in-memory cache, mapping <username, password, host> key to the <default plugin, private key, ext-salt> value. This way it'll avoid both overhead drastically reducing the connection time. Must work for multi-threaded clients too.

      When done, server's parsec_iterations can be increased to 8 by default.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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