pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres database encryption
5+ messages / 5 participants
[nested] [flat]

* Postgres database encryption
@ 2024-03-19 13:22  Johnathan Tiamoh <johnathantiamoh@gmail.com>
  0 siblings, 3 replies; 5+ messages in thread

From: Johnathan Tiamoh @ 2024-03-19 13:22 UTC (permalink / raw)
  To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

Hello,


Good morning. Please I wish to find out the best way of encrypting a
Postgres database.

This could either be encrypting a whole database ( I don’t if this is
possible), a specific table and a specific tablespace.


King regards
Johnathan T.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgres database encryption
@ 2024-03-19 15:06  Greg Sabino Mullane <htamfids@gmail.com>
  parent: Johnathan Tiamoh <johnathantiamoh@gmail.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Greg Sabino Mullane @ 2024-03-19 15:06 UTC (permalink / raw)
  To: Johnathan Tiamoh <johnathantiamoh@gmail.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

What is your threat model? That will determine the best answer.

The easiest thing is to use OS-level encryption.

Cheers,
Greg

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgres database encryption
@ 2024-03-19 18:20  Kai Wagner <kai.wagner@percona.com>
  parent: Johnathan Tiamoh <johnathantiamoh@gmail.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Kai Wagner @ 2024-03-19 18:20 UTC (permalink / raw)
  To: Johnathan Tiamoh <johnathantiamoh@gmail.com>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>

Hey,

On 19/03/2024 14:22, Johnathan Tiamoh wrote:
> Hello,
>
>
> Good morning. Please I wish to find out the best way of encrypting a 
> Postgres database.
>
> This could either be encrypting a whole database ( I don’t if this is 
> possible), a specific table and a specific tablespace.

There is no default incore mechanism to do that. Depending on your treat 
vector, OS-Level could be fine or you need to go with any of the incore 
rebuilds available by some vendors.

We're currently working on another mechanism, which enables you to 
encrypt on a table level. Of course, completely open source project, 
available on GitHub https://github.com/Percona-Lab/pg_tde

Would be happy, if you can give it a shot, and share your thoughts and 
feedback.

>
>
> King regards
> Johnathan T.

-- 
Kai Wagner
Sr. Engineering Manager, Percona

e: kai.wagner@percona.com
w: www.percona.com
Databases Run Better with Percona.






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgres database encryption
@ 2024-03-19 18:57  Ron Johnson <ronljohnsonjr@gmail.com>
  parent: Johnathan Tiamoh <johnathantiamoh@gmail.com>
  2 siblings, 1 reply; 5+ messages in thread

From: Ron Johnson @ 2024-03-19 18:57 UTC (permalink / raw)
  To: pgsql-general

On Tue, Mar 19, 2024 at 9:22 AM Johnathan Tiamoh <johnathantiamoh@gmail.com>
wrote:

> Hello,
>
>
> Good morning. Please I wish to find out the best way of encrypting a
> Postgres database.
>
> This could either be encrypting a whole database ( I don’t if this is
> possible), a specific table and a specific tablespace.
>

Look at PgSodium.  It might meet your requirements.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: Postgres database encryption
@ 2024-03-19 19:11  Zahir Lalani <ZahirLalani@oliver.agency>
  parent: Ron Johnson <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Zahir Lalani @ 2024-03-19 19:11 UTC (permalink / raw)
  To: Ron Johnson <ronljohnsonjr@gmail.com>; pgsql-general

>On Tue, Mar 19, 2024 at 9:22 AM Johnathan Tiamoh <mailto:johnathantiamoh@gmail.com> wrote:
>Hello,  
>
>
>Good morning. Please I wish to find out the best way of encrypting a Postgres database. 
>
>This could either be encrypting a whole database ( I don’t if this is possible), a specific table and a specific tablespace. 
>
>Look at PgSodium.  It might meet your requirements.

We use PgSodium - works well and we can control down to field level 


^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2024-03-19 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19 13:22 Postgres database encryption Johnathan Tiamoh <johnathantiamoh@gmail.com>
2024-03-19 15:06 ` Greg Sabino Mullane <htamfids@gmail.com>
2024-03-19 18:20 ` Kai Wagner <kai.wagner@percona.com>
2024-03-19 18:57 ` Ron Johnson <ronljohnsonjr@gmail.com>
2024-03-19 19:11   ` Zahir Lalani <ZahirLalani@oliver.agency>

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