Re: [HACKERS] Support for Secure Transport SSL library on macOS as OpenSSL alternative - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [HACKERS] Support for Secure Transport SSL library on macOS as OpenSSL alternative
Date
Msg-id 0B15C584-EC0A-4D1B-A19E-4CEDB2128585@yesql.se
Whole thread Raw
In response to Re: [HACKERS] Support for Secure Transport SSL library on macOS asOpenSSL alternative  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] Support for Secure Transport SSL library on macOS asOpenSSL alternative
Re: [HACKERS] Support for Secure Transport SSL library on macOS asOpenSSL alternative
List pgsql-hackers
Here’s an attempt at reviving an old patch that I’ve neglected for too long.

The attached patchset rebases Secure Transport support over HEAD and adds stub
functions for that the SCRAM support added to make everything compile and run
the SSL testsuite.  There are no new features or bugfixes over the previously
posted patches.

Wrt SCRAM, I’m probably thick but I can’t really see what I need to do to
handle SCRAM, so I wouldn’t mind some cluesticks on that.  The Secure Transport
API doesn’t allow for getting the TLS Finished message (at least I haven’t been
able to find a way), so channel binding can’t be supported afaict.

The testcode has been updated to handle Secure Transport, but it’s not
in a clean form, rather a quick hack to get something running while the project
settles on how to handle multiple SSL implementations.

I have for now excluded the previous doc changes awating the discussion on the
patch in 1f34fa82-52a0-1682-87ba-4c3c3d0afcc0@2ndquadrant.com, once that
settles I’ll revive and write the documentation.  The same goes for GUCs etc
which are discussed in other threads.

As per before, my patch for running tests against another set of binaries is
included as well as a fix for connstrings with spaces, but with the recent
hacking by Peter I assume this is superfluous.  It was handy for development so
I’ve kept it around though.

cheers ./daniel


Attachment

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BUGFIX: standby disconnect can corrupt serialized reorder buffers
Next
From: Tom Lane
Date:
Subject: Re: Bogus tags for comments, ACLs, and security labels in pg_dump