Re: Support for NSS as a libpq TLS backend
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Michael Paquier <michael@paquier.xyz>
Cc: Jacob Champion <pchampion@vmware.com>,
"hlinnaka@iki.fi" <hlinnaka@iki.fi>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>,
"andrew.dunstan@2ndquadrant.com" <andrew.dunstan@2ndquadrant.com>,
"thomas.munro@gmail.com" <thomas.munro@gmail.com>,
"andres@anarazel.de" <andres@anarazel.de>,
"sfrost@snowman.net" <sfrost@snowman.net>
Date: 2021-02-10T12:17:33Z
Lists: pgsql-hackers
> On 10 Feb 2021, at 08:23, Michael Paquier <michael@paquier.xyz> wrote: > > On Tue, Feb 09, 2021 at 10:30:52AM +0100, Daniel Gustafsson wrote: >> It can be, it's not the most pressing patch scope reduction but everything >> helps of course. > > Okay. I have spent some time on this one and finished it. Thanks, I'll post a rebased version on top of this soon. >> Thanks. That patch is slightly more interesting in terms of reducing scope >> here, but I also think it makes the test code a bit easier to digest when >> certificate management is abstracted into the API rather than the job of the >> testfile to perform. > > That's my impression. Still, I am wondering if there could be a > different approach. I need to think more about that first.. Another option could be to roll SSL config into PostgresNode and expose SSL connections to every subsystem tested with TAP. Something like: $node = get_new_node(..); $node->setup_ssl(..); $node->set_certificate(..); That is a fair bit more work though, but perhaps we could then easier find (and/or prevent) bugs like the one fixed in a45bc8a4f6495072bc48ad40a5aa03. -- 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