Re: Support for NSS as a libpq TLS backend
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Jacob Champion <pchampion@vmware.com>
Cc: "sfrost@snowman.net" <sfrost@snowman.net>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>,
"hlinnaka@iki.fi" <hlinnaka@iki.fi>,
"andrew.dunstan@2ndquadrant.com" <andrew.dunstan@2ndquadrant.com>,
"rachelmheaton@gmail.com" <rachelmheaton@gmail.com>,
"thomas.munro@gmail.com" <thomas.munro@gmail.com>,
"michael@paquier.xyz" <michael@paquier.xyz>,
"andres@anarazel.de" <andres@anarazel.de>
Date: 2021-10-05T13:08:18Z
Lists: pgsql-hackers
Attachments
- v45-0001-nss-Support-libnss-as-TLS-library-in-libpq.patch (application/octet-stream) patch v45-0001
- v45-0002-Refactor-SSL-testharness-for-multiple-library.patch (application/octet-stream) patch v45-0002
- v45-0003-nss-Add-NSS-specific-tests.patch (application/octet-stream) patch v45-0003
- v45-0004-test-check-for-empty-stderr-during-connect_ok.patch (application/octet-stream) patch v45-0004
- v45-0005-nss-pg_strong_random-support.patch (application/octet-stream) patch v45-0005
- v45-0006-nss-Documentation.patch (application/octet-stream) patch v45-0006
- v45-0007-nss-Support-NSS-in-pgcrypto.patch (application/octet-stream) patch v45-0007
- v45-0008-nss-Support-NSS-in-sslinfo.patch (application/octet-stream) patch v45-0008
- v45-0009-nss-Support-NSS-in-cryptohash.patch (application/octet-stream) patch v45-0009
- v45-0010-nss-Build-infrastructure.patch (application/octet-stream) patch v45-0010
> On 4 Oct 2021, at 18:14, Jacob Champion <pchampion@vmware.com> wrote: > > On Fri, 2021-10-01 at 08:55 +0200, Daniel Gustafsson wrote: >> Ah, that makes perfect sense. I was too focused on hunting in what new was >> linked against that I overlooked the obvious. Thanks for finding these. > > No problem at all :) The exit() check is useful but still a little > opaque, I think, especially since (from my newbie perspective) there's > so much of the pgcommon staticlib that is forbidden for use in libpq. Thanks! These changes looks good. Since you accidentally based this on v43 and not the v44 I posted with the cryptohash fix in, the attached is a v45 with both your v44 and the previous one, all rebased over HEAD. -- Daniel Gustafsson https://vmware.com/
Commits
-
Add tab-completion for CREATE FOREIGN TABLE.
- 74527c3e022d 15.0 cited
-
Add tap tests for the schema publications.
- 6b0f6f79eef2 15.0 cited
-
Move Perl test modules to a better namespace
- b3b4d8e68ae8 15.0 cited
-
Adjust configure to insist on Perl version >= 5.8.3.
- 92e6a98c3636 15.0 cited
-
Simplify code related to compilation of SSL and OpenSSL
- 092b785fad3d 14.0 landed
-
Introduce --with-ssl={openssl} as a configure option
- fe61df7f82aa 14.0 landed
-
Implement support for bulk inserts in postgres_fdw
- b663a4136331 14.0 cited
-
Fix redundant error messages in client tools
- 6be725e70161 14.0 cited
-
doc: Apply more consistently <productname> markup for OpenSSL
- 089da3c4778f 14.0 landed
-
Check ssl_in_use flag when reporting statistics
- 6a5c750f3f72 14.0 cited