pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Mark ssl_passphrase_command as GUC_SUPERUSER_ONLY.
Date: Mon, 09 Mar 2020 02:42:13 +0000
Message-ID: <E1jB8Mv-0003iO-HZ@gemulon.postgresql.org> (raw)

Mark ssl_passphrase_command as GUC_SUPERUSER_ONLY.

This commit changes the GUC ssl_passphrase_command so that
it's examinable by only superuser and a member of pg_read_all_settings.
Per discussion, we determined to do this because the parameter may
contain a sensitive informtaion like a passphrase itself.

Author: Insung Moon
Reviewed-by: Keisuke Kuroda
Discussion: https://postgr.es/m/CAEMmqBuHVGayc+QkYKgx3gWSdqwTAQGw+0DYn3WhcX-eNa2ntA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d9249441efc5b4adc5b1a71f3d16538c68e198fc

Modified Files
--------------
src/backend/utils/misc/guc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1jB8Mv-0003iO-HZ@gemulon.postgresql.org>
Permalink:  ../E1jB8Mv-0003iO-HZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jB8Mv-0003iO-HZ@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Mark ssl_passphrase_command as GUC_SUPERUSER_ONLY.
  In-Reply-To: <E1jB8Mv-0003iO-HZ@gemulon.postgresql.org>
  References: <E1jB8Mv-0003iO-HZ@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