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 1f9fBi-0006mI-0D for pgsql-general@arkaria.postgresql.org; Fri, 20 Apr 2018 23:11:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9fBg-0006Rl-Jf for pgsql-general@arkaria.postgresql.org; Fri, 20 Apr 2018 23:11:28 +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.89) (envelope-from ) id 1f9fBg-0006Rb-Bv for pgsql-general@lists.postgresql.org; Fri, 20 Apr 2018 23:11:28 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9fBY-0005XJ-Hw for pgsql-general@lists.postgresql.org; Fri, 20 Apr 2018 23:11:27 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 81B885F79C; Fri, 20 Apr 2018 19:11:19 -0400 (EDT) Date: Fri, 20 Apr 2018 19:11:19 -0400 From: Stephen Frost To: Ron Cc: pgsql-general@lists.postgresql.org Subject: Re: Postgresql database encryption Message-ID: <20180420231119.GD27724@tamriel.snowman.net> References: <7035313d-50fa-8d9c-3aa3-999d12e06afa@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FVoU9VXBP3PcghKQ" Content-Disposition: inline In-Reply-To: <7035313d-50fa-8d9c-3aa3-999d12e06afa@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 --FVoU9VXBP3PcghKQ 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 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 your > >encryption will serve. Does the data need to be encrypted at rest? Does = 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. >=20 > 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 carrying = it > from place to place, but when it's running, all the data is transparently > decrypted for every process that wants to read the data, including malwar= e, > industrial spies, >=20 > 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. Thanks! Stephen --FVoU9VXBP3PcghKQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJa2nOXAAoJEO1sijiDR2RVj5wP/R0NmOS5iFfnDR1UJvJ9QYXF FmxSASIWD2krs0zMs0Rc11ZSLuFSpEZIgsWoIcmObW1EFfCRStc10ZLGNhkEzBAa 62FtGzz5mh+ewLnM8vddDxwiME5rKLOVdV9tfSu3A1ZYyohalgDKZildqptjQcKy 8FX4Gnh3Q+WWE7aztuXPeSP9O4ovCNlg+M4+2br+7/4S3yt0jf1rd9ioBd8vdr8r ikQ5MOgU0yGTOoX5BhKPnFYS/0WH4s3HovpbMZKAAWnmDFNCvvM4OQRcqZFKuorF 0NwdUxN3qWAhZ7tkEHxMKGZmUU+gSTFW5o1yffkMsc5OQyF+Qt1WHDZLh1SG9Uqk hO0S4sO8h6Al/iLX73O6vBAtUH5hYlTiSQQTZwbKRyInrKFOPrFJKrAt7GxTlV8D pPMY4zXFKKBgxcjJnB4bzntNF/itBjqqz0YV5i5vkDqLX1TGOBLdYS8JL4ndArxv 9kmJ/SsgXD534M7i0J3al/yc1oR3/pItfIMnbwLn8bHpHXZhR4LANDcaN9cDXv/Y VA7epCmznMhmxa+tMbTGNdjqd3CSigVuH/COZBax9tBJH2v/nJHy0ncUrPCkKTIp OdxL+05iO6gL8j296GhNW6BXD+2346Fie34x/4gdEPDhHjkQ+KpGKvxhUCqPRgBK ocjMDUofn7uRgh0ypjrY =sK4O -----END PGP SIGNATURE----- --FVoU9VXBP3PcghKQ--