[php-src] Issue #10800: mysqli::real_connect(): Authentication data too long. Won't fit into the buffer and will be truncated. Authentication will
thus fail
| From: | maemigh | Date: | Tue, 07 Mar 2023 08:42:04 +0000 |
| Subject: | [php-src] Issue #10800: mysqli::real_connect(): Authentication data too long. Won't fit into the buffer and will be truncated. Authentication will thus fail |
||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243867@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10800
Author: maemigh
### Description
I'm using JWT tokens as passwords for MariaDB (via PAM auth) and while using phpmyadmin 5.2.1 I
see this message pop up. However, even though the message appears authentication does succeed.
It looks like mysqlnd_wireprotocol.c will set this message if (packet->auth_data_len > 0xFF)
Passwords can actually be extremely long though.
### PHP Version
PHP 8.1.15
### Operating System
_No response_