pgcat icon indicating copy to clipboard operation
pgcat copied to clipboard

feat: SASL client support

Open rkrishn7 opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Currently, there is no client support for SASL authentication when connecting to the proxy

Describe the solution you'd like

Add SASL authentication as a configurable strategy. The default authentication mechanism will remain md5.

This will likely involve refactoring the authentication logic, possibly into a separate module.

rkrishn7 avatar Oct 17 '23 17:10 rkrishn7

I'm happy to work on this!

rkrishn7 avatar Oct 17 '23 17:10 rkrishn7

Is your feature request related to a problem? Please describe.

Currently, there is no client support for SASL authentication when connecting to the proxy

Describe the solution you'd like

Add SASL authentication as a configurable strategy. The default authentication mechanism will remain md5.

This will likely involve refactoring the authentication logic, possibly into a separate module.

I've been doing this for the last two weeks. I don't have a lot of time, but I've already made a lot of progress. I plan to rewrite almost entirely SCRAM authentication as it is now, and add client-server SCRAM authentication. I think by the end of the month I'll have a result and as a consequence a Pull Request.

p.s. I'm not a PGCat contributor, so PR decisions are out of my hands.

WagnerPMC avatar Oct 19 '23 05:10 WagnerPMC