Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9fkQ-0000OM-0Z for pgsql-general@arkaria.postgresql.org; Fri, 20 Apr 2018 23:47:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9fkP-00057s-2S for pgsql-general@arkaria.postgresql.org; Fri, 20 Apr 2018 23:47:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9fkO-00057j-NZ for pgsql-general@lists.postgresql.org; Fri, 20 Apr 2018 23:47:20 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9fkL-0001wH-Sz for pgsql-general@lists.postgresql.org; Fri, 20 Apr 2018 23:47:19 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id B70DE5F79C; Fri, 20 Apr 2018 19:47:16 -0400 (EDT) Date: Fri, 20 Apr 2018 19:47:16 -0400 From: Stephen Frost To: Ron Cc: pgsql-general@lists.postgresql.org Subject: Re: Postgresql database encryption Message-ID: <20180420234716.GE27724@tamriel.snowman.net> References: <7035313d-50fa-8d9c-3aa3-999d12e06afa@gmail.com> <20180420231119.GD27724@tamriel.snowman.net> <36760092-50f6-9297-4d01-da2bbd55df7d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XXWio9xG+59OE3g9" Content-Disposition: inline In-Reply-To: <36760092-50f6-9297-4d01-da2bbd55df7d@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --XXWio9xG+59OE3g9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Ron (ronljohnsonjr@gmail.com) wrote: > On 04/20/2018 06:11 PM, Stephen Frost wrote: > >* Ron (ronljohnsonjr@gmail.com) wrote: > >>On 04/20/2018 03:55 PM, Vick Khera wrote: > >>>On Fri, Apr 20, 2018 at 11:24 AM, Vikas Sharma >>>For anyone to offer a proper solution, you need to say what purpose yo= ur > >>>encryption will serve. Does the data need to be encrypted at rest? Doe= s it > >>>need to be encrypted in memory? Does it need to be encrypted at the > >>>database level or at the application level? Do you need to be able to > >>>query the data? There are all sorts of scenarios and use cases, and you > >>>need to be more specific. > >>> > >>>For me, using whole-disk encryption solved my need, which was to ensure > >>>that the data on disk cannot be read once removed from the server. > >>Someone really needs to explain that to me. My company-issued laptop has > >>WDE, and that's great for when the machine is shut down and I'm carryin= g it > >>from place to place, but when it's running, all the data is transparent= ly > >>decrypted for every process that wants to read the data, including malw= are, > >>industrial spies, > >> > >>Thus, unless you move your DB server on a regular basis, I can't see the > >>usefulness of WDE on a static machine. > >The typical concern (aka, attack vector) isn't around moving the DB > >server on a regular basis or about someone breaking into your data > >center and stealing your drives, it's making sure that disposal of > >equipment doesn't result in valuable data being retained on the > >drives when they leave the data center for replacement or disposal. >=20 > That makes some sense, but years of added CPU overhead to mitigate a prob= lem > that could be solved by writing zeros to the disk as a step in the decomm > process seems more than a bit wasteful. This presumes that the drive is still functional enough to be able to overwrite it with zeros, and that overwriting it with zeros would be sufficient. Neither are, necessairly, accurate. Thanks! Stephen --XXWio9xG+59OE3g9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJa2nwEAAoJEO1sijiDR2RVoyYQALhmcyPXiYVPE91ag84ZcjGR 59iNL7Rwim9gG2ACXMAEqx0yTDHskYvXu73XRFO5pUF+2vqhT22hAnPJTfFSLsTr vAjPD8c6/LKdus6G+nadmjaTE2p1nTaZnpBtZtKXuC6mUBoaw9FCKulEaPYo/uui 1zmTNHYQSltJQnJToW5CkW5zx9977aWaQdJ0UKPSqVfDVCJEvHXqafFjNscQH4HD fT9sPcUxAx9NEniu4zAN9Q/ZYXEs+YHIHRADQ1jHbUdik3rmKZfhQAd2APLMgPsx oAaqOL5ey4E5sLYWcW32HkcnUdtdMXkODMtodKpxXNRH1tklaQY1a3megFYjqCGl ux4VoXdrJ6Vl5C4H6cFoIphaVGsJ/nO/deyYRM3ARbA1/E3/EN9RWHa6ueNuTnGb jd2BsbVLWu57lvXsreqJjr7Zxe0ntYDivF+DaZqGIE9HffvceRPZhuTWsZZbqDXg OgPGu4Wtpl98C2nisHZwmthQweg02AwmSsW4H450rf7kmBKgRUeA9+grDlNPxvWy uL/NSO0Trq5phPdRiunnoj23ZPS5Q3bsnAGu80wnrMTBqElUgw4rFkK/Iqc1M2DI yJlSbPGsb3Fwz/mrl9B2feAThWmfNK6WxoEoBqq447q/T7yYEUgnGNanb3tMxBNu DQVH9v/Egx/M/OmJrwcx =6s5Z -----END PGP SIGNATURE----- --XXWio9xG+59OE3g9--