Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS)
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Stephen Frost <sfrost@snowman.net>, Joe Conway <mail@joeconway.com>, Masahiko Sawada <sawada.mshk@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, Antonin Houska <ah@cybertec.at>, Haribabu Kommi <kommi.haribabu@gmail.com>, "Moon, Insung" <Moon_Insung_i3@lab.ntt.co.jp>, Ibrar Ahmed <ibrar.ahmad@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-07-06T03:15:52Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Revamp the WAL record format.
- 2c03216d8311 9.5.0 cited
On 2019-Jul-05, Bruce Momjian wrote: > On Fri, Jul 5, 2019 at 05:00:42PM -0400, Bruce Momjian wrote: > > On Fri, Jul 5, 2019 at 04:24:54PM -0400, Alvaro Herrera wrote: > > > Oh, is that the idea? I was kinda assuming that the data was kept > > > as-stored in shared buffers, ie. it would be decrypted on access, not on > > > read from disk. The system seems very prone to leakage if you have it > > > decrypted in shared memory. > > > > Well, the overhead of decrypting on every access will make the slowdown > > huge, and I don't know what security value that would have. I am not > > sure what security value TDE itself has, but I think encrypting shared > > buffer contents has even less. > > Sorry I didn't answer your question directly. Since the shared buffers > are in memory, if the decryption key is also unlocked in memory, there > isn't much value to encrypting shared buffers, and the overhead would be > huge. Oh, I get your point now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services