]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Accept SCRAM channel binding enabled clients
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 8 Dec 2017 15:17:46 +0000 (10:17 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 8 Dec 2017 15:17:46 +0000 (10:17 -0500)
commit218b024a7ec866ec62abb5c2fb4eb9108bb5fc0f
tree85814a78dce8489e56f6d1ab6d660e32ac44413f
parentee5b595493e1609903d55709853f5276ba85c81d
Accept SCRAM channel binding enabled clients

Add support to the SCRAM exchange for clients that support channel
binding, such as PostgreSQL version 11 and beyond.  If such a client
encounters a PostgreSQL 10 server that does not support channel binding,
it will send a channel binding flag 'y', meaning the client supports
channel binding but thinks the server does not.  But PostgreSQL 10
erroneously did not accept that flag.  This would cause connections to
fail if a version 11 client connects to a version 10 server with SCRAM
authentication over SSL.

Author: Michael Paquier <michael.paquier@gmail.com>
src/backend/libpq/auth-scram.c