trilogy-libraries / trilogy

Trilogy is a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.
MIT License
697 stars 68 forks source link

Support for cleartext password #157

Closed danschultzer closed 5 months ago

danschultzer commented 7 months ago

It looks like trilogy doesn't allow for cleartext password and will always hash the password:

https://github.com/trilogy-libraries/trilogy/blob/362ee5881a0a92867895d5bdfeb83165316bddc4/src/protocol.c#L569-L577

We're using RDS IAM auth and we need to be able to send the token as a cleartext password. Is this something trilogy should support or is there a good reason for not being able to send cleartext password?