-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for sm3_password authentication. #36192
Comments
Note that MySQL has:
See also:
I don't think SM3 should replace I'm not sure if |
I assume this issue is only for authentication and not for function support (e.g. to have an |
Yes, SM3 could not replace
Now an enhancement on JDBC is performed to support this new authentication. This PR will be merged after the connection test is successful.
Good suggestion!
This PR will also introduce a hashing function |
Maybe we can try to write a client-side authentication plugin that would allow any client and connector that is based on libmysqlclient to use the new authentication method. (in addition to what is planned for Connector/J as that is not based on libmysqlclient) |
Enhancement
SM3 Cryptographic Hash Algorithm is a cryptographic hash function used in the Chinese National Standard. It is required from businesses related to banking, telecommunications, and insurance customers in China market.
TiDB has already supported encryption authentication like SHA1 and SHA256, we need to add SM3 encryption algorithm to the existing authentication mechanism. It could be a
replacementsupplement for SHA256 authentication.The text was updated successfully, but these errors were encountered: