Skip to content

Add caching_sha2_password RSA public-key authentication - #6017

Merged
renecannao merged 20 commits into
v3.0from
feature/caching-sha2-rsa-public-key
Aug 10, 2026
Merged

Add caching_sha2_password RSA public-key authentication#6017
renecannao merged 20 commits into
v3.0from
feature/caching-sha2-rsa-public-key

Merge remote-tracking branch 'origin/v3.0' into feature/caching-sha2-…

2fdc294
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 10, 2026 in 5m 8s

Annotations

Check warning on line 3060 in lib/MySQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLEnMZUky4BdUyQY&open=AZ_niLEnMZUky4BdUyQY&pullRequest=6017

Check failure on line 236 in lib/MySQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of "void *" with a more meaningful type.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_qKCFfue9n_h9Am3Jn&open=AZ_qKCFfue9n_h9Am3Jn&pullRequest=6017

Check failure on line 1688 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQO&open=AZ_niLDLMZUky4BdUyQO&pullRequest=6017

Check failure on line 5697 in lib/MySQL_Session.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK_7MZUky4BdUyQB&open=AZ_niK_7MZUky4BdUyQB&pullRequest=6017

Check failure on line 229 in test/tap/tests/unit/protocol_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK8tMZUky4BdUyPt&open=AZ_niK8tMZUky4BdUyPt&pullRequest=6017

Check failure on line 1689 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQP&open=AZ_niLDLMZUky4BdUyQP&pullRequest=6017

Check failure on line 9245 in lib/MySQL_Session.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK_7MZUky4BdUyQG&open=AZ_niK_7MZUky4BdUyQG&pullRequest=6017

Check warning on line 277 in lib/mysql_connection.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLFWMZUky4BdUyQZ&open=AZ_niLFWMZUky4BdUyQZ&pullRequest=6017

Check failure on line 499 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQM&open=AZ_niLDLMZUky4BdUyQM&pullRequest=6017

Check failure on line 1783 in lib/MySQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 41 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLEnMZUky4BdUyQW&open=AZ_niLEnMZUky4BdUyQW&pullRequest=6017

Check failure on line 3421 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQT&open=AZ_niLDLMZUky4BdUyQT&pullRequest=6017

Check failure on line 1820 in lib/MySQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "malloc".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_p6JgqLqw2KI1-OFF6&open=AZ_p6JgqLqw2KI1-OFF6&pullRequest=6017

Check failure on line 3420 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQS&open=AZ_niLDLMZUky4BdUyQS&pullRequest=6017

Check failure on line 2511 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQR&open=AZ_niLDLMZUky4BdUyQR&pullRequest=6017

Check failure on line 112 in test/tap/tests/reg_test_5988-caching_sha2_rsa-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 49 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK83MZUky4BdUyPy&open=AZ_niK83MZUky4BdUyPy&pullRequest=6017

Check failure on line 268 in test/tap/tests/unit/protocol_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK8tMZUky4BdUyPw&open=AZ_niK8tMZUky4BdUyPw&pullRequest=6017

Check failure on line 2506 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQQ&open=AZ_niLDLMZUky4BdUyQQ&pullRequest=6017

Check warning on line 56 in lib/MySQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLEnMZUky4BdUyQU&open=AZ_niLEnMZUky4BdUyQU&pullRequest=6017

Check warning on line 405 in lib/mysql_data_stream.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLB6MZUky4BdUyQJ&open=AZ_niLB6MZUky4BdUyQJ&pullRequest=6017

Check failure on line 2165 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 379 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_qKB9Kue9n_h9Am3Jm&open=AZ_qKB9Kue9n_h9Am3Jm&pullRequest=6017

Check failure on line 309 in test/tap/tests/unit/caching_sha2_rsa_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 36 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_p6JOuLqw2KI1-OFFq&open=AZ_p6JOuLqw2KI1-OFFq&pullRequest=6017

Check failure on line 498 in lib/MySQL_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niLDLMZUky4BdUyQL&open=AZ_niLDLMZUky4BdUyQL&pullRequest=6017

Check failure on line 229 in test/tap/tests/unit/protocol_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use advanced memory allocation.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK8tMZUky4BdUyPu&open=AZ_niK8tMZUky4BdUyPu&pullRequest=6017

Check failure on line 319 in test/tap/tests/unit/protocol_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_niK8tMZUky4BdUyPx&open=AZ_niK8tMZUky4BdUyPx&pullRequest=6017

Check failure on line 1866 in lib/MySQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_p6JgqLqw2KI1-OFF5&open=AZ_p6JgqLqw2KI1-OFF5&pullRequest=6017