go-sql-driver / go-sql-driver/mysql
Implement dialog auth plugin
Open
enhancement
- Dominant language
- Go
- Stars
- 15.3k
- Forks
- 2.3k
- Avg merge
- 2h 23m
- Merged PRs (30d)
- 10
Description
MariaDB and Percona Server use the [dialog](https://mariadb.com/kb/en/library/development-pluggable-authentication/#dialog-client-plugin) auth plugin instead of MySQL's `mysql_cleartext_password` plugin for PAM authentication.
This driver should come with built-in support, as PAM authentication is rather common. The implementation complexity seems low. MariaDB's client implementation can be found here: https://github.com/MariaDB/mariadb-connector-c/blob/master/plugins/auth/dialog.c
Contributor guide
Assessment
This issue has not been assessed yet.