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 1nkDeS-0001pm-Fx for pgsql-general@arkaria.postgresql.org; Thu, 28 Apr 2022 23:34:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nkDeR-0005Gz-1w for pgsql-general@arkaria.postgresql.org; Thu, 28 Apr 2022 23:34:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nkDcH-0008UA-DV for pgsql-general@lists.postgresql.org; Thu, 28 Apr 2022 23:32:09 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nkDcE-000229-Pb for pgsql-general@lists.postgresql.org; Thu, 28 Apr 2022 23:32:08 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1nkDcD-006pbl-7s; Thu, 28 Apr 2022 19:32:05 -0400 Date: Thu, 28 Apr 2022 19:32:05 -0400 From: Bruce Momjian To: Aaron Gray Cc: pgsql-general@lists.postgresql.org Subject: Re: Whole Database or Table AES encryption Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 28, 2022 at 11:55:09PM +0100, Aaron Gray wrote: > On Wed, 27 Apr 2022 at 18:01, Bruce Momjian wrote: > > > > On Wed, Apr 27, 2022 at 05:21:41PM +0100, Aaron Gray wrote: > > > Hi, > > > > > > Is there any way to (virtually) encrypt whole databases or tables with > > > AES or other types of encryption ? > > > > You can use storage encryption via the operating system. Cybertec has a > > patch for PG 12 and the community is working on an implementation, > > perhaps for PG 16. > > I would be very interested in this, are there any further pointers as > to where to look at this ? > Is there a repo branch in place working on this or any documentation ? https://wiki.postgresql.org/wiki/Transparent_Data_Encryption -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson