diff options
| author | Bruce Momjian | 2020-12-25 15:19:44 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2020-12-25 15:19:44 +0000 |
| commit | 978f869b992f9fca343e99d6fdb71073c76e869a (patch) | |
| tree | b8020240551aa16da5b4fc9fbf96710de2d667e4 /src/include/postmaster | |
| parent | 5c31afc49d0b62b357218b6f8b01782509ef8acd (diff) | |
Add key management system
This adds a key management system that stores (currently) two data
encryption keys of length 128, 192, or 256 bits. The data keys are
AES256 encrypted using a key encryption key, and validated via GCM
cipher mode. A command to obtain the key encryption key must be
specified at initdb time, and will be run at every database server
start. New parameters allow a file descriptor open to the terminal to
be passed. pg_upgrade support has also been added.
Discussion: https://postgr.es/m/CA+fd4k7q5o6Nc_AaX6BcYM9yqTbC6_pnH-6nSD=54Zp6NBQTCQ@mail.gmail.com
Discussion: https://postgr.es/m/20201202213814.GG20285@momjian.us
Author: Masahiko Sawada, me, Stephen Frost
Diffstat (limited to 'src/include/postmaster')
| -rw-r--r-- | src/include/postmaster/postmaster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/postmaster/postmaster.h b/src/include/postmaster/postmaster.h index babc87dfc9d..b1f0721b856 100644 --- a/src/include/postmaster/postmaster.h +++ b/src/include/postmaster/postmaster.h @@ -30,6 +30,8 @@ extern bool enable_bonjour; extern char *bonjour_name; extern bool restart_after_crash; +extern int terminal_fd; + #ifdef WIN32 extern HANDLE PostmasterHandle; #else |
