Skip to content

Redact MQTT password from startup logs - #35

Open
theGressier wants to merge 1 commit into
theengs:mainfrom
theGressier:fix/redact-mqtt-password
Open

Redact MQTT password from startup logs#35
theGressier wants to merge 1 commit into
theengs:mainfrom
theGressier:fix/redact-mqtt-password

Conversation

@theGressier

Copy link
Copy Markdown

Summary

Redact the MQTT password when printing the generated Gateway configuration at startup.

The configuration file still contains the real password for Gateway use, while the logged representation shows "pass": "***".

Validation

  • bash -n chroot/opt/venv/start.sh
  • Container smoke test with a dummy MQTT password
  • Gateway startup confirmed with the password redacted in logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant