refactor CHORUS
This commit is contained in:
@@ -1018,9 +1018,9 @@ func (s *SetupManager) executeSudoCommand(client *ssh.Client, password string, c
|
||||
// SECURITY: Use here-document to avoid password exposure in process list
|
||||
// This keeps the password out of command line arguments and process lists
|
||||
escapedPassword := strings.ReplaceAll(password, "'", "'\"'\"'")
|
||||
secureCommand := fmt.Sprintf(`sudo -S %s <<'BZZZ_EOF'
|
||||
secureCommand := fmt.Sprintf(`sudo -S %s <<'CHORUS_EOF'
|
||||
%s
|
||||
BZZZ_EOF`, safeCommand, escapedPassword)
|
||||
CHORUS_EOF`, safeCommand, escapedPassword)
|
||||
|
||||
return s.executeSSHCommand(client, secureCommand)
|
||||
} else {
|
||||
@@ -1977,7 +1977,7 @@ github:
|
||||
|
||||
p2p:
|
||||
service_tag: "CHORUS-peer-discovery"
|
||||
bzzz_topic: "CHORUS/coordination/v1"
|
||||
chorus_topic: "CHORUS/coordination/v1"
|
||||
hmmm_topic: "hmmm/meta-discussion/v1"
|
||||
discovery_timeout: 10s
|
||||
escalation_webhook: "https://n8n.home.deepblack.cloud/webhook-test/human-escalation"
|
||||
@@ -2160,7 +2160,7 @@ github:
|
||||
|
||||
p2p:
|
||||
service_tag: "CHORUS-peer-discovery"
|
||||
bzzz_topic: "CHORUS/coordination/v1"
|
||||
chorus_topic: "CHORUS/coordination/v1"
|
||||
hmmm_topic: "hmmm/meta-discussion/v1"
|
||||
discovery_timeout: 10s
|
||||
escalation_webhook: ""
|
||||
|
||||
Reference in New Issue
Block a user