From: Stephen Frost <sfrost@snowman.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Ants Aasma <ants.aasma@eesti.ee>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: WIP: Data at rest encryption
Date: Thu, 15 Jun 2017 19:51:10 -0400
Message-ID: <20170615235110.GF1769@tamriel.snowman.net> (raw)
In-Reply-To: <20170615234443.GE11450@momjian.us>
References: <20170614214119.GL1769@tamriel.snowman.net>
<0b5611b8-af0f-152d-9c38-222b081c71ac@2ndquadrant.com>
<CA+TgmoYrQvGkr-6j4fDxJ-SBjhiALzDZcukR2c9s0VeGbWoWaw@mail.gmail.com>
<20170615202942.GA20904@momjian.us>
<CA+TgmoaPbgzNytWPwD43s996eQkOwVATbhXCfhvQ8FkP8cG4JQ@mail.gmail.com>
<20170615211201.GC8443@momjian.us>
<20170615224108.GC1769@tamriel.snowman.net>
<20170615231302.GA11450@momjian.us>
<20170615232755.GD1769@tamriel.snowman.net>
<20170615234443.GE11450@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Bruce,
* Bruce Momjian (bruce@momjian.us) wrote:
> On Thu, Jun 15, 2017 at 07:27:55PM -0400, Stephen Frost wrote:
> > I expect the same would happen with the shell-command approach suggested
> > up-thread and the prompt-on-stdin approach too, they aren't great but I
> > expect users would still use the feature. As Robert and I have
> > mentioned, there is a good bit of value to having this feature simply
> > because it avoids the need to get someone with root privileges to set up
> > an encrypted volume and I don't think having to use a shell command or
> > providing the password on stdin at startup really changes that very
> > much.
>
> Understood, but now you are promoting a feature with an admittedly-poor
> API, duplication of an OS feature, and perhaps an invasive change to the
> code. Those are high hurdles.
Of those, the only one that worries me, at least, is that it might be an
invasive and difficult to maintain code change. As Robert said, and I
agree with, "duplication of an OS feature" is something we pretty
routinly, and justifiably, do. The poor interface is unfortunate, but
if it's consistent with what we have today for a similar feature then
I'm really not too upset with it. If we can do better, great, I'm all
for that, but if not, then I'd rather have the feature with the poor
interface than not have it at all.
If it's an invasive code change or one which ends up being difficult to
maintain, then that's a problem. Getting some focus on that aspect
would be great and I certainly appreciate Robert's initial review and
commentary on it.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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-hackers@postgresql.org
Cc: sfrost@snowman.net, bruce@momjian.us, robertmhaas@gmail.com, peter.eisentraut@2ndquadrant.com, ants.aasma@eesti.ee
Subject: Re: WIP: Data at rest encryption
In-Reply-To: <20170615235110.GF1769@tamriel.snowman.net>
References: <20170614214119.GL1769@tamriel.snowman.net> <0b5611b8-af0f-152d-9c38-222b081c71ac@2ndquadrant.com> <CA+TgmoYrQvGkr-6j4fDxJ-SBjhiALzDZcukR2c9s0VeGbWoWaw@mail.gmail.com> <20170615202942.GA20904@momjian.us> <CA+TgmoaPbgzNytWPwD43s996eQkOwVATbhXCfhvQ8FkP8cG4JQ@mail.gmail.com> <20170615211201.GC8443@momjian.us> <20170615224108.GC1769@tamriel.snowman.net> <20170615231302.GA11450@momjian.us> <20170615232755.GD1769@tamriel.snowman.net> <20170615234443.GE11450@momjian.us> <20170615235110.GF1769@tamriel.snowman.net>
* 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