Re: pgsql: Implement channel binding tls-server-end-point for SCRAM
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, Thomas Munro <thomas.munro@enterprisedb.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2018-01-08T13:14:11Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Implement channel binding tls-server-end-point for SCRAM
- d3fb72ea6de5 11.0 cited
Attachments
- fix_ssl_tests_scram_v2.patch (text/plain) patch v2
On Sat, Jan 06, 2018 at 09:10:51AM +0900, Michael Paquier wrote: > On Sat, Jan 6, 2018 at 2:56 AM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote: > Good idea as a whole, but I don't think this is the right approach. As > we include $(bindir) in PATH when running the prove command, why not > getting the include path from "pg_config --includedir"? So, I have been looking at that, and I propose the following counter-patch which implements this idea by adding a new routine as TestLib::config_check which is able to check within pg_config.h if a given regexp matches or not for the installation on which TAP tests are being run. I have tested with Postgres compiled with both OpenSSL 1.0.1 and 1.0.2, in which case the connection test respectively fails and passes, causing the test to be correctly handled. This is based on Peter's patch upthread. -- Michael