pgsql: Implement channel binding tls-server-end-point for SCRAM

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Implement channel binding tls-server-end-point for SCRAM
Date: 2018-01-04 20:36:41
Message-ID: E1eXCFl-00009k-0q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Implement channel binding tls-server-end-point for SCRAM

This adds a second standard channel binding type for SCRAM. It is
mainly intended for third-party clients that cannot implement
tls-unique, for example JDBC.

Author: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/protocol.sgml | 17 ++++---
src/backend/libpq/auth-scram.c | 20 ++++++--
src/backend/libpq/be-secure-openssl.c | 61 ++++++++++++++++++++++++
src/include/common/scram-common.h | 1 +
src/include/libpq/libpq-be.h | 1 +
src/interfaces/libpq/fe-auth-scram.c | 15 ++++++
src/interfaces/libpq/fe-secure-openssl.c | 80 ++++++++++++++++++++++++++++++++
src/interfaces/libpq/libpq-int.h | 1 +
src/test/ssl/t/002_scram.pl | 5 +-
9 files changed, 189 insertions(+), 12 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-01-04 20:47:41 Re: pgsql: Add parallel-aware hash joins.
Previous Message Tom Lane 2018-01-04 20:16:15 Re: pgsql: Add parallel-aware hash joins.

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2018-01-04 20:39:41 Re: Announcing Release 6 of PostgreSQL Buildfarm client
Previous Message Stephen Frost 2018-01-04 20:36:09 Re: GSoC 2018