From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
Cc: | Joe Conway <mail(at)joeconway(dot)com>, Antonin Houska <ah(at)cybertec(dot)at>, Stephen Frost <sfrost(at)snowman(dot)net>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, "Moon, Insung" <Moon_Insung_i3(at)lab(dot)ntt(dot)co(dot)jp>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS) |
Date: | 2019-07-25 17:23:40 |
Message-ID: | 20190725172340.3ezulk46dokxtrpr@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jul 25, 2019 at 01:18:44PM -0400, Bruce Momjian wrote:
> > Key Management
> > ==============
> > We will use 3-tier key architecture as Joe proposed.
> >
> > 1. A master key encryption key (KEK): this is the ley supplied by the
> > database admin using something akin to ssl_passphrase_command
> >
> > 2. A master data encryption key (MDEK): this is a generated key using a
> > cryptographically secure pseudo-random number generator. It is
> > encrypted using the KEK, probably with Key Wrap (KW):
> > or maybe better Key Wrap with Padding (KWP):
> >
> > 3a. Per table data encryption keys (TDEK): use MDEK and HKDF to generate
> > table specific keys.
>
> What is the value of a per-table encryption key? How is HKDF derived?
> Are we still unclear if the 68GB limit is per encryption key or per
> encryption key/IV combination?
Oh, I see you got this from Joe Conway's email. Let me reply to that
now. (I am obviously having problems keeping this thread in my head as
well.)
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Jehan-Guillaume de Rorthais | 2019-07-25 17:38:08 | Re: Fetching timeline during recovery |
Previous Message | Bruce Momjian | 2019-07-25 17:18:44 | Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS) |