Skip to content

拆除 API Key create/revoke 确认层,恢复 LocalAdmin - #6

Closed
DNTOF wants to merge 1 commit into
cursor/confirm-new-cmd-window-3ee0from
cursor/remove-confirm-layer-c920
Closed

DNTOF wants to merge 1 commit into
cursor/confirm-new-cmd-window-3ee0from
cursor/remove-confirm-layer-c920

Conversation

@DNTOF

@DNTOF DNTOF commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Owner 实机测试确认:sldataapi apikey create|revoke 的 y/N / 全屏 / 新 cmd 确认 UX(层 2)破坏了 LocalAdmin。端点层防御已经足够,整层拆除确认。

保留

  • Auth/RemoteCommandGuard:远程 /control/console/command(HTTP + WS)硬拒绝 sldataapi / slda
  • EndpointAcl / API Key 鉴权(Kerckhoffs)不变

删除

  • create/revoke 上的 OperatorConfirmService.Confirm 调用
  • confirmtest 及确认专用实现:OperatorConfirmService、ConfirmWindowChannel、ConfirmWindowProtocol、ConfirmPanel
  • 配置键 api_key_confirm_timeout_seconds
  • 对应单元测试与 README / SECURITY / Config 中的确认窗口描述

本地控制台 create|revoke 立即执行;远程仍然 403。

请勿合并到 preview/v2.6.0-DevOnly 或 main。 按 Owner 要求先停在本分支。

确认窗口 / y/N / confirmtest 在实机上破坏了 LocalAdmin。端点层 RemoteCommandGuard 已硬拒绝远程 sldataapi/slda,本地控制台不再二次确认。

Co-authored-by: DNT_OF <allowcache@gmail.com>
@DNTOF
DNTOF deleted the branch cursor/confirm-new-cmd-window-3ee0 September 24, 2026 12:46
@DNTOF DNTOF closed this Sep 24, 2026
@DNTOF
DNTOF deleted the cursor/remove-confirm-layer-c920 branch September 24, 2026 12:46
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.

2 participants