You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Redact secure options in check --report.
For this to be practically useful secure options must be redacted. Otherwise, no user is likely to share the report. Since this feature is still internal, there is no real world impact.
This commit is contained in:
@@ -38,6 +38,8 @@ testRun(void)
|
||||
storageTest, "pgbackrest.conf",
|
||||
"[global]\n"
|
||||
"repo1-path=" TEST_PATH "/repo1\n"
|
||||
"repo1-cipher-type=aes-256-cbc\n"
|
||||
"repo1-cipher-pass=ULmO7pKuimOzPEqHH9HUqQln\n"
|
||||
"repo1-block=y\n"
|
||||
"no-repo1-block=bogus\n"
|
||||
"bogus=y\n"
|
||||
@@ -156,6 +158,12 @@ testRun(void)
|
||||
"\"repo1-block\":{"
|
||||
"\"val\":\"y\""
|
||||
"},"
|
||||
"\"repo1-cipher-pass\":{"
|
||||
"\"val\":\"<repo1-cipher-pass>\""
|
||||
"},"
|
||||
"\"repo1-cipher-type\":{"
|
||||
"\"val\":\"aes-256-cbc\""
|
||||
"},"
|
||||
"\"repo1-path\":{"
|
||||
"\"val\":\"" TEST_PATH "/repo1\""
|
||||
"}"
|
||||
|
||||
Reference in New Issue
Block a user