Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.0, 3.0.8
-
None
Description
MariaDB Connector/ODBC allows users to set SSLFP and SSLFPLIST, but as far as I can tell, it doesn't do anything with the values.
Shouldn't it call mysql_optionsv in the MADB_DbcConnectDB function and use the value(s) to set MARIADB_OPT_TLS_PEER_FP and/or MARIADB_OPT_TLS_PEER_FP_LIST? I don't see it doing that here:
https://github.com/MariaDB/mariadb-connector-odbc/blob/3.1.0/ma_connection.c#L579
It looks like MARIADB_OPT_TLS_PEER_FP and MARIADB_OPT_TLS_PEER_FP_LIST are preferred over MARIADB_OPT_SSL_FP and MARIADB_OPT_SSL_FP_LIST, because the latter are deprecated. See here:
https://github.com/MariaDB/mariadb-connector-c/blob/v3.0.9/include/mysql.h#L214
Attachments
Issue Links
- relates to
-
ODBC-228 Add parameter that corresponds to MARIADB_OPT_TLS_VERSION option from MariaDB Connector/C
-
- Closed
-
-
ODBC-238 Add parameter that corresponds to MYSQL_OPT_SSL_ENFORCE option from MariaDB Connector/C
-
- Closed
-
-
ODBC-239 Switch from deprecated mysql_options to mysql_optionsv
-
- Closed
-
-
ODBC-241 Add parameter that corresponds to MYSQL_SERVER_PUBLIC_KEY option from MariaDB Connector/C
-
- Closed
-
-
ODBC-242 Add parameter that corresponds to MARIADB_OPT_TLS_CIPHER_STRENGTH option from MariaDB Connector/C
-
- Open
-
Activity
issue.field.resolutiondate | 2019-09-12 22:23:22.0 | 2019-09-12 22:23:22.618 |
Fix Version/s | 3.1.4 [ 23811 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 94263 ] | MariaDB v4 [ 135518 ] |