Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-228

Add parameter that corresponds to MARIADB_OPT_TLS_VERSION option from MariaDB Connector/C

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0, 3.0.8
    • 3.0.9, 3.1.1
    • General
    • None

    Description

      MariaDB Connector/C 3.0 added the MARIADB_OPT_TLS_VERSION option with this commit:

      https://github.com/MariaDB/mariadb-connector-c/commit/b241f8995fcd5dd6cfd0428e59171f47b7f757cc#diff-c61d6e7cbbec589fb76256c8af4a4159

      It doesn't look like MariaDB Connector/ODBC supports that yet:

      https://mariadb.com/kb/en/library/about-mariadb-connector-odbc/#tls-related-connection-parameters

      Maybe it should add a TLSVERSION parameter that corresponds to MariaDB Connector/C's MARIADB_OPT_TLS_VERSION option?

      Attachments

        Issue Links

          Activity

            The patch has been pushed into odbc-3.0 as 172c399
            Won't be merged into 2.0 as older C/C do not support this functionality

            Connection string option name isTLSVERSION

            This option can be used to enforce MARIADB_OPT_TLS_VERSION C/C option to
            limit allowed for the connection TLS versions.
            The value can be either a bitmap, where bit 1 corresponds to TLSv1.1,
            bit 2 - TLSv1.2, and 4 - to TLSv1.3, or it can be set as combination of
            string names TLSv1.1, TLSv1.2 and TLSv1.3.
            Checkbox group has been added to the Windows setup dialog. If no
            checkboxes checked there means all versions are allowed.

            Lawrin Lawrin Novitsky added a comment - The patch has been pushed into odbc-3.0 as 172c399 Won't be merged into 2.0 as older C/C do not support this functionality Connection string option name isTLSVERSION This option can be used to enforce MARIADB_OPT_TLS_VERSION C/C option to limit allowed for the connection TLS versions. The value can be either a bitmap, where bit 1 corresponds to TLSv1.1, bit 2 - TLSv1.2, and 4 - to TLSv1.3, or it can be set as combination of string names TLSv1.1, TLSv1.2 and TLSv1.3. Checkbox group has been added to the Windows setup dialog. If no checkboxes checked there means all versions are allowed.

            People

              Lawrin Lawrin Novitsky
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.