From: | Ryan Lambert <ryan(at)rustprooflabs(dot)com> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | Joe Conway <mail(at)joeconway(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Antonin Houska <ah(at)cybertec(dot)at>, 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-10 02:02:46 |
Message-ID: | CAN-V+g-CZoHnVGyySCZUVNDFAE4tQU9ak-b9U8aQTAnHEejrHQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> What I think Tomas is getting at here is that we don't write a page only
> once.
> A nonce of tableoid+pagenum will only be unique the first time we write
> out that page. Seems unlikely that we're only going to be writing these
> pages once though- what we need is a nonce that's unique for *every
> write* of the 8k page, isn't it? As every write of the page is going to
> be encrypting something new.
> With sufficient randomness, we can at least be more likely to have a
> unique nonce for each 8K write. Including the LSN seems like it'd be a
> possible alternative.
Agreed. I know little of the inner details about the LSN but what I read
in [1] sounds encouraging in addition to tableoid + pagenum.
[1] https://www.postgresql.org/docs/current/datatype-pg-lsn.html
Ryan Lambert
>
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2019-07-10 02:06:33 | Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS) |
Previous Message | David G. Johnston | 2019-07-10 00:58:40 | Re: Extending PostgreSQL with a Domain-Specific Language (DSL) - Development |