postgresql-typed icon indicating copy to clipboard operation
postgresql-typed copied to clipboard

Support for scram-sha-256

Open joshuakb2 opened this issue 2 years ago • 1 comments

As far as I can tell, this library currently has no support for the newer SCRAM-SHA-256 authentication method, which is more secure than MD5. Are there any plans to support this?

joshuakb2 avatar May 07 '22 18:05 joshuakb2

That's true. It looks like the protocol requires SASL (https://www.postgresql.org/docs/current/sasl-authentication.html). I don't see any up-to-date SASL implementations in haskell and am not sure what all it involves but I'm certainly open to contributions or pointers.

dylex avatar May 08 '22 19:05 dylex