pgsql: Add libpq parameter 'channel_binding'.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add libpq parameter 'channel_binding'.
Date: 2019-09-23 21:05:42
Message-ID: E1iCVWg-00057D-8U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add libpq parameter 'channel_binding'.

Allow clients to require channel binding to enhance security against
untrusted servers.

Author: Jeff Davis
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/227015d8417f2b4fef03f8966dbfa5cbcc4f44da.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d6e612f837e235db0411e8b67558c9a6b3e9f41f

Modified Files
--------------
doc/src/sgml/libpq.sgml | 32 +++++++++++++
src/interfaces/libpq/fe-auth-scram.c | 41 ++++++++++++++---
src/interfaces/libpq/fe-auth.c | 76 ++++++++++++++++++++++++++++---
src/interfaces/libpq/fe-auth.h | 1 +
src/interfaces/libpq/fe-connect.c | 41 +++++++++++++++--
src/interfaces/libpq/libpq-int.h | 2 +
src/test/authentication/t/001_password.pl | 12 ++++-
src/test/ssl/t/002_scram.pl | 39 ++++++++++++++--
src/test/ssl/t/SSLServer.pm | 9 +++-
9 files changed, 233 insertions(+), 20 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-09-23 22:28:38 pgsql: Fix ExprState's tag to be of type NodeTag rather than Node.
Previous Message Tom Lane 2019-09-23 20:25:40 pgsql: Stamp 12rc1.