Found max_password_errors has no effect for user with ed25519 authentication plugin.
Below is an example of 2 users foo_native and foo_ed25519. foo_native account is being blocked after 2 consecutive wrong password as expected. But foo_ed25519 is not blocked after wrong password count more than max_password_errors (=2).
MariaDB [(none)]> select @@version;
|
+--------------------+
|
| @@version |
|
+--------------------+
|
| 10.5.8-MariaDB-log |
|
+--------------------+
|
1 row in set (0.000 sec)
|
|
MariaDB [(none)]> select @@max_password_errors;
|
+-----------------------+
|
| @@max_password_errors |
|
+-----------------------+
|
| 2 |
|
+-----------------------+
|
1 row in set (0.000 sec)
|
|
MariaDB [(none)]> create user foo_native@localhost identified by 'Abcd1234%' ;
|
Query OK, 0 rows affected (0.004 sec)
|
|
MariaDB [(none)]> create user foo_ed25519@localhost identified via ed25519 using password('Abcd1234%') ;
|
Query OK, 0 rows affected (0.004 sec)
|
|
MariaDB [(none)]> exit
|
Bye
|
[root@t1vuat-dbaas02 ~]#
|
[root@t1vuat-dbaas02 ~]#
|
[root@t1vuat-dbaas02 ~]#
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_native -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_native'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_native -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_native'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_native -pabc
|
ERROR 4150 (HY000): User is blocked because of too many credential errors; unblock with 'FLUSH PRIVILEGES'
|
[root@t1vuat-dbaas02 ~]#
|
[root@t1vuat-dbaas02 ~]#
|
[root@t1vuat-dbaas02 ~]#
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
[root@t1vuat-dbaas02 ~]# mysql --defaults-file=/u01/xxxx/my.cnf -ufoo_ed25519 -pabc
|
ERROR 1045 (28000): Access denied for user 'foo_ed25519'@'localhost' (using password: YES)
|
There are no comments yet on this issue.
{"report":{"fcp":1113.1999998092651,"ttfb":250.09999990463257,"pageVisibility":"visible","entityId":99519,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d392ae86-6480-48b4-817a-a83cc1ad04ad","navigationType":0,"readyForUser":1243.5,"redirectCount":0,"resourceLoadedEnd":878.9000000953674,"resourceLoadedStart":261.69999980926514,"resourceTiming":[{"duration":91.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":261.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":353.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":91.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":262.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":262.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":353.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":403,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":262.30000019073486,"connectEnd":262.30000019073486,"connectStart":262.30000019073486,"domainLookupEnd":262.30000019073486,"domainLookupStart":262.30000019073486,"fetchStart":262.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":354.5,"responseEnd":665.3000001907349,"responseStart":372.40000009536743,"secureConnectionStart":262.30000019073486},{"duration":573.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":263,"connectEnd":263,"connectStart":263,"domainLookupEnd":263,"domainLookupStart":263,"fetchStart":263,"redirectEnd":0,"redirectStart":0,"requestStart":354.69999980926514,"responseEnd":836.9000000953674,"responseStart":369.5,"secureConnectionStart":263},{"duration":113.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":263.19999980926514,"connectEnd":263.19999980926514,"connectStart":263.19999980926514,"domainLookupEnd":263.19999980926514,"domainLookupStart":263.19999980926514,"fetchStart":263.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":354.90000009536743,"responseEnd":377,"responseStart":375.90000009536743,"secureConnectionStart":263.19999980926514},{"duration":119.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":263.40000009536743,"connectEnd":263.40000009536743,"connectStart":263.40000009536743,"domainLookupEnd":263.40000009536743,"domainLookupStart":263.40000009536743,"fetchStart":263.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":356.90000009536743,"responseEnd":382.69999980926514,"responseStart":381.5,"secureConnectionStart":263.40000009536743},{"duration":124.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":263.5,"connectEnd":263.5,"connectStart":263.5,"domainLookupEnd":263.5,"domainLookupStart":263.5,"fetchStart":263.5,"redirectEnd":0,"redirectStart":0,"requestStart":372,"responseEnd":387.69999980926514,"responseStart":386.80000019073486,"secureConnectionStart":263.5},{"duration":106.7000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":263.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":263.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":370.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":130.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":263.90000009536743,"connectEnd":263.90000009536743,"connectStart":263.90000009536743,"domainLookupEnd":263.90000009536743,"domainLookupStart":263.90000009536743,"fetchStart":263.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":374.69999980926514,"responseEnd":394.5,"responseStart":392.30000019073486,"secureConnectionStart":263.90000009536743},{"duration":107.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":264.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":371.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":132.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":264.19999980926514,"connectEnd":264.19999980926514,"connectStart":264.19999980926514,"domainLookupEnd":264.19999980926514,"domainLookupStart":264.19999980926514,"fetchStart":264.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":375.09999990463257,"responseEnd":396.40000009536743,"responseStart":395.19999980926514,"secureConnectionStart":264.19999980926514},{"duration":608.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":268.40000009536743,"connectEnd":268.40000009536743,"connectStart":268.40000009536743,"domainLookupEnd":268.40000009536743,"domainLookupStart":268.40000009536743,"fetchStart":268.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":540.9000000953674,"responseEnd":876.9000000953674,"responseStart":864,"secureConnectionStart":268.40000009536743},{"duration":606.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":272,"connectEnd":272,"connectStart":272,"domainLookupEnd":272,"domainLookupStart":272,"fetchStart":272,"redirectEnd":0,"redirectStart":0,"requestStart":591.6999998092651,"responseEnd":878.9000000953674,"responseStart":871.5999999046326,"secureConnectionStart":272},{"duration":120.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":827.4000000953674,"connectEnd":827.4000000953674,"connectStart":827.4000000953674,"domainLookupEnd":827.4000000953674,"domainLookupStart":827.4000000953674,"fetchStart":827.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":913.9000000953674,"responseEnd":948.0999999046326,"responseStart":947.1999998092651,"secureConnectionStart":827.4000000953674},{"duration":225.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1066.5,"connectEnd":1066.5,"connectStart":1066.5,"domainLookupEnd":1066.5,"domainLookupStart":1066.5,"fetchStart":1066.5,"redirectEnd":0,"redirectStart":0,"requestStart":1254.5999999046326,"responseEnd":1291.8000001907349,"responseStart":1291,"secureConnectionStart":1066.5}],"fetchStart":0,"domainLookupStart":41,"domainLookupEnd":47,"connectStart":47,"connectEnd":66,"secureConnectionStart":55,"requestStart":67,"responseStart":250,"responseEnd":272,"domLoading":256,"domInteractive":1305,"domContentLoadedEventStart":1306,"domContentLoadedEventEnd":1354,"domComplete":1806,"loadEventStart":1806,"loadEventEnd":1806,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1282},{"name":"bigPipe.sidebar-id.end","time":1282.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1282.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1283.3000001907349},{"name":"activityTabFullyLoaded","time":1365.5999999046326}],"measures":[],"correlationId":"179a4c73115686","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}