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 1nkD7g-0007Jx-E6 for pgsql-general@arkaria.postgresql.org; Thu, 28 Apr 2022 23:00:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nkD7f-0002hH-77 for pgsql-general@arkaria.postgresql.org; Thu, 28 Apr 2022 23:00:31 +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 1nkD7e-0002h8-S5 for pgsql-general@lists.postgresql.org; Thu, 28 Apr 2022 23:00:30 +0000 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nkD7a-00063f-Ki for pgsql-general@lists.postgresql.org; Thu, 28 Apr 2022 23:00:30 +0000 Received: by mail-qv1-xf34.google.com with SMTP id js10so4295194qvb.0 for ; Thu, 28 Apr 2022 16:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=6y4aikV2Ue6lTxNcU867gtEYNgRQ93gtVJFYxB20XFs=; b=ZiARXuOvQ+kEFizb35zzFT8hkiQ4/WVb4NcN/I5e8Fbv/2dHtUXauIEAsA7/hezTaV heboY1629YWMvlnP8xVatsyEO6Yy9g15f8VW+tYEtfY01nTPbO9ko6RZuQpEbyzi28yj AVCFMd9yy2+aTXBWZKbuJzDZu36HDjNGs0bLh0Z+0RdXuZZu4IFD9TeZiIgirr1yryq2 Dhs8zk5MiYpj5CbSgwA5HZJ38/FvCJsY8PLZmM1hbrkgftRUhZlLCAkpmrxbvugjRHTH l8xWdnx8AE7uKTsS9V39He7t671gk1oU+i1CDNW0a3Lo8f7Q803JuWI6AG+aCSQ5ZAs7 TX+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=6y4aikV2Ue6lTxNcU867gtEYNgRQ93gtVJFYxB20XFs=; b=jbI+kTSR98TbYsc1cnwuXeBXqAvSX9FDl49GK/NhPJ8pXDTACEZEJbtiM0MOX9dt7V +sE2g6CtRdu4eKZVbQVCYVQFYbL5JOL4AzlDkaQav0/ESQ1gym4hLawGqYOldaFkjQpa jX+JGVa9/kOUtktJJLf4jjdv+nLUjgQnCNpqBcv4nozAPjooswFNQIFM74d+dzpW42ku pfgTCErbJWrwVNmkKadSyWqUuxq7HuYNa9iiJNeSTSeJ6sTlLrQDSnG2mVDda7Uzj+h0 vLVynQ0vD4lZFJVKCN/QO4LKb1zvL3qbUQ+35mETyEiGImikLnkcA7SbBvwlFWiz8etE WXQQ== X-Gm-Message-State: AOAM532/nKBiqkPHNakQT1L14ff701kOfoN1jj8aFBQCfOU9tvyWzVjT 8LsJrWKy5PeJC/pF+8NwIxJ0vaiRAcQ= X-Google-Smtp-Source: ABdhPJwXOvSAS94Z160Z+g/lUl/QCf8VcPlBRVY2sqzakJsD927XFjJQhz/7bHf5AXU6n9Q1LPkEpQ== X-Received: by 2002:a05:6214:21e9:b0:456:522d:8e0a with SMTP id p9-20020a05621421e900b00456522d8e0amr7561806qvj.91.1651186824423; Thu, 28 Apr 2022 16:00:24 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id x13-20020a05620a258d00b0069c7468e123sm619524qko.122.2022.04.28.16.00.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Apr 2022 16:00:23 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------7yJEpdzARwIeJhRNme5Pid9X" Message-ID: <65ec3922-c76c-d7b2-5064-beb05c44eccf@gmail.com> Date: Thu, 28 Apr 2022 19:00:23 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: Whole Database or Table AES encryption Content-Language: en-US To: pgsql-general@lists.postgresql.org References: From: Mladen Gogala In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------7yJEpdzARwIeJhRNme5Pid9X Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/28/22 18:55, 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 ? > > Cheers, > > Aaron There is a commercial product which supports database encryption, including PostgreSQL, it's called Voltage: https://www.techtarget.com/searchsecurity/feature/HP-Security-Voltages-SecureData-Enterprise-Product-overview The company that I work for uses it to encrypt data in both Oracle and PostgreSQL databases. -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com --------------7yJEpdzARwIeJhRNme5Pid9X Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 4/28/22 18:55, Aaron Gray wrote:
On Wed, 27 Apr 2022 at 18:01, Bruce Momjian <bruce@momjian.us> 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 ?

Cheers,

Aaron

There is a commercial product which supports database encryption, including PostgreSQL, it's called Voltage:

https://www.techtarget.com/searchsecurity/feature/HP-Security-Voltages-SecureData-Enterprise-Product-overview

The company that I work for uses it to encrypt data in both Oracle and PostgreSQL databases.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
--------------7yJEpdzARwIeJhRNme5Pid9X--