Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLeZo-00024M-DI for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Jun 2017 23:53:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dLeZn-0004IL-WC for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Jun 2017 23:53:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dLeYD-0006KO-4j for pgsql-hackers@postgresql.org; Thu, 15 Jun 2017 23:51:45 +0000 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dLeY9-0004FB-Pl for pgsql-hackers@postgresql.org; Thu, 15 Jun 2017 23:51:44 +0000 Received: by mail-qt0-x22f.google.com with SMTP id u12so42104881qth.0 for ; Thu, 15 Jun 2017 16:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=QLpEIE/9Va1PLZmCEw6z0bWsIKgvTfue1ERLaxZv/Vg=; b=Qso8YlwTFaLAcUtTHsePuZuA7RNlWMSN1emH32NsknaFCT04OJPCARVPLxP4ZiOSr0 oXz/FWxgX9vapdPrlMjHyfWrBygMS7vuqT8rRpVJxvwckTblMF/zzLj5CegorPaNsLhQ Wsb8e2NNFBoS5GXy+flgCcEKVXQp37adIQdqzh1niipYfkZb5LsuYkIemEXxN4hcvdUP p5ItjFOCFFqLW0PAExpMhrY21XoxM5MzSZgOEiXQ8doSFwFlfmvN8cD4CVp40wU7nvTe qVR8GHffKVl9Z/MpWB96RAeeCNzPqjT0b3mcsyaVtWvc2bZCsh3lm5otZhydP7/AbxHW zotg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=QLpEIE/9Va1PLZmCEw6z0bWsIKgvTfue1ERLaxZv/Vg=; b=qgChPdeAjp2jLEHUpl3B1o75ziurjUqFrLCHcAmx/teAX3TC0ilT2RWktyWIWCsdc7 B8a8y3TLC2xTh7iFXiU2saPTBuJqewGZMQqW7O+Ez19E1rnPpB6umd4G/GTfkdAZdncr wldPXuKc00oOWIYYI7UUmYTLffoLq1kgju/LeFY4bsY97Pa1+vCUl30pXX/m79aJOS9U rFiRWi6q1ssuC179XS+jQcr9x1z0F3GRtOwwfnO//5DSz8U0xEmVrL2XzaZHBFqkA7eW OWEABj7cT0tXso1l/Dxt8FV10GLMuDYIYD36iCYMfH45cwJ/qdmgD+nx6yxKJ1KPKKY7 wrwg== X-Gm-Message-State: AKS2vOyYAoxEaixJGOic3K/dF7aSiSEPRHxDI4o7XcaOU5iBzjuLQ4Um USbktGdib3E8Pa4H X-Received: by 10.55.102.200 with SMTP id a191mr9256231qkc.259.1497570699232; Thu, 15 Jun 2017 16:51:39 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.217.209.130]) by smtp.gmail.com with ESMTPSA id m51sm476561qtb.62.2017.06.15.16.51.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 16:51:38 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id BF4B04DD; Thu, 15 Jun 2017 20:51:36 -0300 (-03) Date: Thu, 15 Jun 2017 19:51:36 -0400 From: Alvaro Herrera To: Bruce Momjian Cc: Stephen Frost , Robert Haas , Peter Eisentraut , Ants Aasma , PostgreSQL-development Subject: Re: WIP: Data at rest encryption Message-ID: <20170615235136.64zkk5e5cwbf2svc@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170615234443.GE11450@momjian.us> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Bruce Momjian 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. I thought we called it "incremental development". From the opposite point of view, would you say we should ban use of passphrase-protected SSL key files because the current user interface for them is bad? I have no use for data-at-rest encryption myself, but I wouldn't stop development just because the initial design proposal doesn't include top-notch key management. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers