We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879707f commit 4bed8acCopy full SHA for 4bed8ac
src/backend/storage/file/cfs.c
@@ -238,6 +238,7 @@ static void cfs_rc4_init(void)
238
if (cipher_key == NULL) {
239
elog(ERROR, "PG_CIPHER_KEY environment variable is not set");
240
}
241
+ unsetenv("PG_CIPHER_KEY"); /* make it not possible to inspect this environment variable through plperl */
242
key_length = strlen(cipher_key);
243
for (i = 0; i < CFS_CIPHER_KEY_SIZE; ++i) {
244
rc4_init_state[i] = (uint8)i;
0 commit comments