From: Bruce Momjian <bruce@momjian.us>
To: Aaron Gray <aaronngray.lists@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Whole Database or Table AES encryption
Date: Wed, 27 Apr 2022 13:01:20 -0400
Message-ID: <Yml24A0NLlcmiknJ@momjian.us> (raw)
In-Reply-To: <CANkmNDcTf=jDxacwYYCF9=xtzb2ct4aOYVnzY2-MgukfLDpcog@mail.gmail.com>
References: <CANkmNDcTf=jDxacwYYCF9=xtzb2ct4aOYVnzY2-MgukfLDpcog@mail.gmail.com>
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. You can also do column-level encryption on the
server side via pgcrypto, or on the client side.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bruce@momjian.us, aaronngray.lists@gmail.com
Subject: Re: Whole Database or Table AES encryption
In-Reply-To: <Yml24A0NLlcmiknJ@momjian.us>
References: <CANkmNDcTf=jDxacwYYCF9=xtzb2ct4aOYVnzY2-MgukfLDpcog@mail.gmail.com> <Yml24A0NLlcmiknJ@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox