[Maria-developers] [question] password input length
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
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
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