From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ssl: Add connection and reload tests for key passphrases
Date: Wed, 26 Nov 2025 13:48:49 +0000
Message-ID: <E1vOFt2-001VMO-1i@gemulon.postgresql.org> (raw)
ssl: Add connection and reload tests for key passphrases
ssl_passphrase_command_supports_reload was not covered by the SSL
testsuite, and connection tests after unlocking secrets with the
passphrase was also missing. This adds test coverage for reloads
of passphrase commands as well as connection attempts which tests
the different codepaths for Windows and non-EXEC_BACKEND builds.
Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/5F301096-921A-427D-8EC1-EBAEC2A35082@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/348020caa7beaa2e4b1bc10b1ea6eb2c97b894c0
Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 90 ++++++++++++++++++++++++++++++++++++------
src/test/ssl/t/SSL/Server.pm | 14 ++++++-
2 files changed, 90 insertions(+), 14 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: ssl: Add connection and reload tests for key passphrases
In-Reply-To: <E1vOFt2-001VMO-1i@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox