Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Authentication failed when using `caching_sha2_password` with passwords longer than 18 characters on MySQL 8.x when SSL was disabled.
The bug is in `Sha256PasswordPacket.java` where the seed (scramble) is being incorrectly truncated before the XOR operation for RSA public key encryption.