pgsql: Add scripts for retrieving the cluster file encryption key

Started by Bruce Momjianover 5 years ago3 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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(+)

#2Robins Tharakan
tharakan@gmail.com
In reply to: Bruce Momjian (#1)
Re: pgsql: Add scripts for retrieving the cluster file encryption key

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

-
robins

On Sat, 26 Dec 2020 at 17:19, Bruce Momjian <bruce@momjian.us> wrote:

Show quoted text

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(+)

#3Bruce Momjian
bruce@momjian.us
In reply to: Robins Tharakan (#2)
Re: pgsql: Add scripts for retrieving the cluster file encryption key

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&amp;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