SSL passphrase prompt external command

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: SSL passphrase prompt external command
Date: 2018-02-23 03:14:14
Message-ID: 6c2a28cd-a064-44ef-b1de-9aa30a231cff@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here is a patch that adds a way to specify an external command for
obtaining SSL passphrases. There is a new GUC setting
ssl_passphrase_command.

Right now, we rely on the OpenSSL built-in prompting mechanism, which
doesn't work in some situations, including under systemd. This patch
allows a configuration to make that work, e.g., with systemd-ask-password.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Add-ssl_passphrase_command-setting.patch text/plain 18.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-02-23 03:18:27 Re: [HACKERS] SERIALIZABLE with parallel query
Previous Message Michael Paquier 2018-02-23 02:55:29 Re: Translations contributions urgently needed