Re: Proposed patch for key managment
От | Bruce Momjian |
---|---|
Тема | Re: Proposed patch for key managment |
Дата | |
Msg-id | 20201222030748.GN28841@momjian.us обсуждение исходный текст |
Ответ на | Re: Proposed patch for key managment (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: Proposed patch for key managment
|
Список | pgsql-hackers |
On Mon, Dec 21, 2020 at 04:35:14PM -0500, Bruce Momjian wrote: > On Sun, Dec 20, 2020 at 05:59:09PM -0500, Stephen Frost wrote: > OK, here it the updated patch. The major change, as Stephen pointed > out, is that the cluser_key_command (was cluster_passphrase_command) now > returns a hex-string representing the 32-byte KEK, rather than having > the server hash whatever the command used to return. This avoids > double-hashing in cases where you are _not_ using a passphrase, but are > computing a random 32-byte value in the script. This does mean the > script has to run sha256 for passphrases, but it seems like a win. > Updated script are attached too. Attached is the script patch. It is also at: https://github.com/postgres/postgres/compare/master...bmomjian:cfe-sh.diff I think it still needs docs but those will have to be done after the code doc patch is added. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee
Вложения
В списке pgsql-hackers по дате отправления: