[CONJ-1114] Authentication plugin sha256_password is missing from v3 Created: 2023-10-19  Updated: 2023-11-22  Resolved: 2023-11-22

Status: Closed
Project: MariaDB Connector/J
Component/s: authentication
Affects Version/s: 3.0.10
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Peter Mahony Assignee: Diego Dupin
Resolution: Won't Do Votes: 0
Labels: None


 Description   

The sha256_password authentication plugin is missing from the 3.0 rewrite. Please could this be added again, or please could the documentation be updated to clarify that it's only available for the 2.x client?

E.g.:



 Comments   
Comment by Diego Dupin [ 2023-10-25 ]

It isn't hard to implement, but would it make sense ? sha256_password is deprecated in mysql, and caching_sha2_password is just sha256_password but faster

Comment by Peter Mahony [ 2023-10-25 ]

That's a good point. My team are currently still on MySQL 5.7 (in the process of migrating to 8.0), and sha256_password is the default in 5.7, and caching_sha2_password is not there. Although, I realise you may not want to support a MySQL version that is already EOL! In which case, I think the documentation should reflect this.

Comment by Diego Dupin [ 2023-11-22 ]

mysql 5.7 is now deprecated, so no reason to add that anymore.
Closing then

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