[Maria-developers] [question] password input length
![](https://secure.gravatar.com/avatar/bfc1a224a82e549f7114fddc01c8aeb3.jpg?s=120&d=mm&r=g)
Hello everyone, 1) I found out, that passwords longer than 79 characters aren't accepted via password prompt. Is that expected? Morie info and reproducer in RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1566179 -- 2) Another password length cap at 213 characters can be found when using sha256_password authentification plugin. Is that expected too? Morie info and reproducer in RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1566219 -- 3) Different theme: why aren't tests for mariadb-connector-odbc, that can be found on GitHub, packged to the source tarball ? -- Michal Schorm Associate Software Engineer Core Services - Databases Team Red Hat
![](https://secure.gravatar.com/avatar/2796d3b1e66d76d4053b044d1384c4bc.jpg?s=120&d=mm&r=g)
On Sat, 12 May 2018 18:46:35 +0200
Michal Schorm
Hello everyone,
1) I found out, that passwords longer than 79 characters aren't accepted via password prompt. Is that expected?
Code seem to say yes: https://github.com/MariaDB/server/blob/10.3/client/mysql.cc#L1959 https://github.com/MariaDB/server/blob/10.3/mysys/get_password.c#L63
More info and reproducer in RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1566179
2) Another password length cap at 213 characters can be found when using sha256_password authentification plugin. Is that expected too?
This is MySQL not MariaDB right?
More info and reproducer in RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1566219
3) Different theme: why aren't tests for mariadb-connector-odbc, that can be found on GitHub, packged to the source tarball ?
Not sure, could request it on JIRA.
Michal Schorm Associate Software Engineer Core Services - Databases Team Red Hat
![](https://secure.gravatar.com/avatar/bfc1a224a82e549f7114fddc01c8aeb3.jpg?s=120&d=mm&r=g)
Thanks for the reply
2) Yes, my bad.
3) Issue filed
--
Michal Schorm
Associate Software Engineer
Core Services - Databases Team
Red Hat
On Wed, May 16, 2018 at 6:04 AM, daniel
On Sat, 12 May 2018 18:46:35 +0200 Michal Schorm
wrote: Hello everyone,
1) I found out, that passwords longer than 79 characters aren't accepted via password prompt. Is that expected?
Code seem to say yes:
https://github.com/MariaDB/server/blob/10.3/client/mysql.cc#L1959
https://github.com/MariaDB/server/blob/10.3/mysys/get_password.c#L63
More info and reproducer in RH bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1566179
2) Another password length cap at 213 characters can be found when using sha256_password authentification plugin. Is that expected too?
This is MySQL not MariaDB right?
More info and reproducer in RH bugzilla:
3)
Different theme: why aren't tests for mariadb-connector-odbc, that can be found on GitHub, packged to the source tarball ?
Not sure, could request it on JIRA.
Michal Schorm Associate Software Engineer Core Services - Databases Team Red Hat
participants (2)
-
daniel
-
Michal Schorm