Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joWFE-0003z2-US for pgsql-general@arkaria.postgresql.org; Thu, 25 Jun 2020 18:05:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1joWFD-0006RG-So for pgsql-general@arkaria.postgresql.org; Thu, 25 Jun 2020 18:05:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joWFD-0006OB-LG for pgsql-general@lists.postgresql.org; Thu, 25 Jun 2020 18:05:03 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joWF8-0005WT-Py for pgsql-general@postgresql.org; Thu, 25 Jun 2020 18:05:01 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1joWF4-0003re-NL; Thu, 25 Jun 2020 14:04:54 -0400 Date: Thu, 25 Jun 2020 14:04:54 -0400 From: Bruce Momjian To: "Bhalodiya, Chirag" Cc: Patrick FICHE , "pgsql-general@postgresql.org" Subject: Re: PostGreSQL TDE encryption patch Message-ID: <20200625180454.GA12487@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Jun 25, 2020 at 04:20:06PM +0530, Bhalodiya, Chirag wrote: > Hi Patrick, > > Thanks for the information. I was looking for out of box postgre solution so > wanted to know how to apply following patch on top of my postgre 12 > installation: > https://www.postgresql.org/message-id/ > CAD21AoBjrbxvaMpTApX1cEsO%3D8N%3Dnc2xVZPB0d9e-VjJ%3DYaRnw%40mail.gmail.com   The patch is for developers and not for production use. --------------------------------------------------------------------------- > > > Regards, > Chirag.   > > On Thu, Jun 25, 2020 at 3:33 PM Patrick FICHE > wrote: > > > Hi > >   > > CYBERTEC provided good installation guide (https:// > www.cybertec-postgresql.com/en/products/ > postgresql-transparent-data-encryption/). > >   > > Here is their answer to your question : > > Q: Can I upgrade to an encrypted database? > A: In place encryption of existing clusters is currently not supported. A > dump and reload to an encrypted instance is required, or logical > replication can be used to perform the migration online. > >   > > Regards, > >   > > Patrick Fiche > > Database Engineer, Aqsacom Sas. > > c. 33 6 82 80 69 96 > >   > > 01-03_AQSA_Main_Corporate_Logo_JPEG_White_Low.jpg > >   > > From: Bhalodiya, Chirag > Sent: Thursday, June 25, 2020 9:50 AM > To: pgsql-general@postgresql.org > Subject: PostGreSQL TDE encryption patch > >   > > Hi, > >   > > We are migrating our product to PostGreSQL from Oracle and as part of HIPPA > (https://en.wikipedia.org/wiki/ > Health_Insurance_Portability_and_Accountability_Act) guidelines, we have a > requirement to encrypt entire tablespace/specific tables using Transparent > data encryption(TDE). > >   > > I was looking at TDE solution in PostGreSQL and went through following > wiki: > > https://wiki.postgresql.org/wiki/Transparent_Data_Encryption  > >   > > I found following TDE patch from this wiki:   > > https://www.postgresql.org/message-id/ > CAD21AoBjrbxvaMpTApX1cEsO%3D8N%3Dnc2xVZPB0d9e-VjJ%3DYaRnw%40mail.gmail.com >    > >   > > However, I am not sure how to apply this patch and I had the > following questions: > > 1. We are using PostGreSQL 12. Is it possible to apply patches on top of > existing PostGreSQL installation? > > 2. Will it be available anytime sooner with a major release like PostGreSQL > 13?  > >   > > Regards, > > Chirag. > -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee