This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 1b4b44d864c branch-4.1: [fix](security) Mask private key password in
backend configuration #66836 (#66933)
1b4b44d864c is described below
commit 1b4b44d864ce81ce72ac2532eb73ed40678343bc
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 20 09:09:54 2026 +0800
branch-4.1: [fix](security) Mask private key password in backend
configuration #66836 (#66933)
Cherry-picked from #66836
Co-authored-by: dzr171712 <[email protected]>
---
be/src/common/config.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 093550f20d8..ac9fe175b87 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -2382,6 +2382,9 @@ std::vector<std::vector<std::string>> get_config_info() {
if (it.first == "sys_log_dir" && config_val == "") {
config_val = fmt::format("{}/log", std::getenv("DORIS_HOME"));
}
+ if (it.first == "tls_private_key_password") {
+ config_val = "******";
+ }
_config.emplace_back(field_it->second.type);
if (0 == strcmp(field_it->second.type, "bool")) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]