mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-19 05:10:55 +00:00
Redact validator token from cleaned config (RIPD-1422)
This commit is contained in:
2
bin/getInfoRippled.sh
Normal file → Executable file
2
bin/getInfoRippled.sh
Normal file → Executable file
@@ -31,6 +31,8 @@ then
|
||||
BEGIN {skip=0; db_path="";print > OUT_FILE}
|
||||
/^\[validation_seed\]/ {skip=1; next}
|
||||
/^\[node_seed\]/ {skip=1; next}
|
||||
/^\[validation_manifest\]/ {skip=1; next}
|
||||
/^\[validator_token\]/ {skip=1; next}
|
||||
/^\[.*\]/ {skip=0}
|
||||
skip==1 {next}
|
||||
save==1 {save=0;db_path=$0}
|
||||
|
||||
Reference in New Issue
Block a user