Open
Description
Is your feature request related to a problem? Please describe.
Postgres 14 switched the default password encryption and authentication method from Md5 to SCRAM-SHA-256. PgCat can authenticate to the servers using SCRAM, but it can't authenticate clients using SCRAM, only Md5. Client libraries still support Md5, but medium/long term Postgres is sure to remove that insecure authentication algorithm from libpq
, so we need to add support for SCRAM for client auth as well.
Describe the solution you'd like
Add support for client-initiated auth to scram.rs
and add support for it in client.rs
.
Describe alternatives you've considered
There aren't any, this is a necessary change.
Additional context
#253
Metadata
Metadata
Assignees
Labels
No labels