Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SASL/SCRAM-SHA-256 support for PostgreSQL 10 #1530
Hi Roji, One of the new features added to Postgresql 10 is using SCRAM-SHA-256 authentication instead of the default (and less secure) MD5 authentication.
For users to be able to use this new authentication, the client driver has to support it. The blog post below has more details:
This blog post has a good overview on all major upcoming features:
BTW, does Npgsql have something similar to Pgbouncer built in?
@john2014 yeah, I've been following the discussion and work on this on pghackers - it's an exciting feature. It's definitely something important that needs to be done.
Unfortunately, a quick search doesn't yield any good, maintained SASL implementation for .NET. We could in theory include a native SASL implementation (e.g. Cyrus) but that should really be a last-resort solution. If anyone has any experience or would like to give a hand, that would be very welcome.
(and yes, Npgsql includes a high-performance internal connection pool which is on by default)
referenced this issue
Nov 14, 2017
@roji last weekend I added SCRAM implementation for Postgres 10.Following is the commit that I pushed Today.
@roji Created following pull request.