refactor CHORUS

This commit is contained in:
anthonyrawlins
2025-09-06 14:47:41 +10:00
parent 9bdcbe0447
commit b6634e4c1b
16 changed files with 225 additions and 225 deletions

View File

@@ -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: ""