Thread: pgsql: Add scripts for retrieving the cluster file encryption key

pgsql: Add scripts for retrieving the cluster file encryption key

From
Bruce Momjian
Date:
Add scripts for retrieving the cluster file encryption key

Scripts are passphrase, direct, AWS, and two Yubikey ones.

Backpatch-through: master

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d7602afa2ef6d8b2018103dccd89e75b4985ac06

Modified Files
--------------
src/backend/Makefile                         | 12 +++++
src/backend/crypto/ckey_aws.sh.sample        | 50 ++++++++++++++++++
src/backend/crypto/ckey_direct.sh.sample     | 37 ++++++++++++++
src/backend/crypto/ckey_passphrase.sh.sample | 33 ++++++++++++
src/backend/crypto/ckey_piv_nopin.sh.sample  | 63 +++++++++++++++++++++++
src/backend/crypto/ckey_piv_pin.sh.sample    | 76 ++++++++++++++++++++++++++++
src/backend/crypto/ssl_passphrase.sh.sample  | 33 ++++++++++++
7 files changed, 304 insertions(+)


Re: pgsql: Add scripts for retrieving the cluster file encryption key

From
Robins Tharakan
Date:

On Sat, 26 Dec 2020 at 17:19, Bruce Momjian <bruce@momjian.us> wrote:
Add scripts for retrieving the cluster file encryption key

Scripts are passphrase, direct, AWS, and two Yubikey ones.

Backpatch-through: master

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d7602afa2ef6d8b2018103dccd89e75b4985ac06

Modified Files
--------------
src/backend/Makefile                         | 12 +++++
src/backend/crypto/ckey_aws.sh.sample        | 50 ++++++++++++++++++
src/backend/crypto/ckey_direct.sh.sample     | 37 ++++++++++++++
src/backend/crypto/ckey_passphrase.sh.sample | 33 ++++++++++++
src/backend/crypto/ckey_piv_nopin.sh.sample  | 63 +++++++++++++++++++++++
src/backend/crypto/ckey_piv_pin.sh.sample    | 76 ++++++++++++++++++++++++++++
src/backend/crypto/ssl_passphrase.sh.sample  | 33 ++++++++++++
7 files changed, 304 insertions(+)

Re: pgsql: Add scripts for retrieving the cluster file encryption key

From
Bruce Momjian
Date:
On Sat, Dec 26, 2020 at 09:09:05PM +1100, Robins Tharakan wrote:
> This script seems to have broken my instance.
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=massasauga&dt=
> 2020-12-26%2006%3A20%3A19

Should be fixed now.  Sorry.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee