Re: Support for NSS as a libpq TLS backend

From: Jacob Champion <pchampion(at)vmware(dot)com>
To: "daniel(at)yesql(dot)se" <daniel(at)yesql(dot)se>
Cc: "sfrost(at)snowman(dot)net" <sfrost(at)snowman(dot)net>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "hlinnaka(at)iki(dot)fi" <hlinnaka(at)iki(dot)fi>, "andrew(dot)dunstan(at)2ndquadrant(dot)com" <andrew(dot)dunstan(at)2ndquadrant(dot)com>, "rachelmheaton(at)gmail(dot)com" <rachelmheaton(at)gmail(dot)com>, "thomas(dot)munro(at)gmail(dot)com" <thomas(dot)munro(at)gmail(dot)com>, "michael(at)paquier(dot)xyz" <michael(at)paquier(dot)xyz>, "andres(at)anarazel(dot)de" <andres(at)anarazel(dot)de>
Subject: Re: Support for NSS as a libpq TLS backend
Date: 2021-10-04 16:14:37
Message-ID: 47f36fb0fad537fdd76d9bc9286d1bde3b614dfc.camel@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Fixed in v44, attached; changes in since-v43.diff.txt.

--Jacob

Attachment Content-Type Size
since-v43.diff.txt text/plain 3.6 KB
v44-0001-nss-Support-libnss-as-TLS-library-in-libpq.patch text/x-patch 103.2 KB
v44-0002-Refactor-SSL-testharness-for-multiple-library.patch text/x-patch 11.5 KB
v44-0003-nss-Add-NSS-specific-tests.patch text/x-patch 57.8 KB
v44-0004-test-check-for-empty-stderr-during-connect_ok.patch text/x-patch 3.6 KB
v44-0005-nss-pg_strong_random-support.patch text/x-patch 2.0 KB
v44-0006-nss-Documentation.patch text/x-patch 35.3 KB
v44-0007-nss-Support-NSS-in-pgcrypto.patch text/x-patch 24.9 KB
v44-0008-nss-Support-NSS-in-sslinfo.patch text/x-patch 3.6 KB
v44-0009-nss-Support-NSS-in-cryptohash.patch text/x-patch 6.1 KB
v44-0010-nss-Build-infrastructure.patch text/x-patch 21.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anton Voloshin 2021-10-04 16:40:02 Re: [PATCH] Print error when libpq-refs-stamp fails
Previous Message Fujii Masao 2021-10-04 15:59:46 Re: corruption of WAL page header is never reported