Re: SSL passphrase prompt external command

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SSL passphrase prompt external command
Date: 2018-02-23 14:03:33
Message-ID: 20180223140332.GB9580@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 23, 2018 at 08:16:12AM -0500, Robert Haas wrote:
> On Thu, Feb 22, 2018 at 10:14 PM, Peter Eisentraut
> <peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
>> 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.
>
> I have not reviewed the patch, but count me as an enthusiastic +1 for
> the concept.

+1 as well, as someone who actually began looking at the patch :)
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-02-23 14:05:12 Re: [HACKERS] advanced partition matching algorithm for partition-wise join
Previous Message Michael Paquier 2018-02-23 14:02:19 Re: [bug fix] Cascaded standby cannot start after a clean shutdown