Skip to content

fix(security): stop logging pairing code secrets / 修复(security): 停止记录 pairing code 秘钥 - #535

Merged
DonPrus merged 2 commits into
nullclaw:mainfrom
manelsen:pr/security-mask-pairing-code-logs
Mar 18, 2026
Merged

DonPrus merged 2 commits into
nullclaw:mainfrom
manelsen:pr/security-mask-pairing-code-logs

Conversation

@manelsen

@manelsen manelsen commented Mar 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • avoid logging the actual pairing code in both the web channel log and the gateway startup prompt, showing only a static message that warns the value is hidden.
  • keep the TTL information and guidance so operators still know the code is one-time and how to finish pairing without exposing the secret.

Validation

  • GitHub Actions passed on this PR:
  • Test (macos-latest)
  • Test (ubuntu-latest)
  • Test (windows-latest)

Notes

中文

摘要

  • 不再在 Web 通道的日志和网关的启动提示中打印 pairing code 的明文,仅输出提示该值被隐藏的信息,同时说明是一次性码。
  • 保留 TTL 信息和 pairing 流程提示,让可操作性不变。

验证

  • 本 PR 的 GitHub Actions 已通过:
  • Test (macos-latest)
  • Test (ubuntu-latest)
  • Test (windows-latest)

备注

@manelsen manelsen changed the title fix(security): stop logging pairing code secrets fix(security): stop logging pairing code secrets / 修复(security): stop logging pairing code secrets Mar 15, 2026
@manelsen manelsen changed the title fix(security): stop logging pairing code secrets / 修复(security): stop logging pairing code secrets fix(security): stop logging pairing code secrets / 修复(security): 停止记录 pairing code 秘钥 Mar 15, 2026
@DonPrus
DonPrus force-pushed the pr/security-mask-pairing-code-logs branch from f909a5c to 93e56d4 Compare March 18, 2026 00:21
@DonPrus
DonPrus merged commit 0aa4222 into nullclaw:main Mar 18, 2026
3 checks passed
@manelsen
manelsen deleted the pr/security-mask-pairing-code-logs branch March 18, 2026 03:25
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.

General SECRETS Management for non model provider API keys

2 participants