[CONJ-737] Error packet caching_sha2_password not handled when not having password Created: 2019-10-11  Updated: 2019-10-15  Resolved: 2019-10-11

Status: Closed
Project: MariaDB Connector/J
Component/s: authentication
Affects Version/s: 2.5.0
Fix Version/s: 2.5.1

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

When authenticating with caching_sha2_password send an ERR_PACKET for fast auth result driver will return a wrong message "Expect login success or RSA login request message" in place of error message.

This can occurs when server already has a successful authentication and encrypted password doesn't correspond or when sending an empty password



 Comments   
Comment by Yanming Zhou [ 2019-10-11 ]

It works since https://github.com/mariadb/mariadb-connector-j/commit/3d4586a28c4d9b7596915f0839c220df127a4817

Generated at Thu Feb 08 03:17:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.