Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Revoke a paired phone, and log who connected

未关闭
#1,166 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

Start with docs/specs/remote-security-model.md, docs/specs/security.md, docs/specs/security-local.md, and docs/specs/security-remote.md, then trace BurrowAcl, BurrowService, BurrowRuntime, and the dor entry points named in the issue. The issue leaves the Relay revocation scope undecided and spans persisted ACL state, live sessions, interfaces, and auditing rules. Done means both Known gaps entries are removed, the guarantees table has revocation and access log rows with their pins, and the audited rules are documented.

由索引模型根据 Issue 内容生成。

描述

enhancement security

Two of the remote-control gaps on dormouse.sh/security are the ones a user of a paired phone feels first: nothing revokes a paired phone, and nothing records who connected. Both are about a user being able to see and control access to their own computer.

Revocation

Today BurrowAcl.revokeClient / revokePasskey have no callers and no relay frame carries a revocation, so revoking a phone means hand-editing Burrow state and restarting the Burrow (docs/specs/remote-security-model.md -> "Revocation propagation"). A lost or sold phone stays paired until the presence window lapses and, after that, until someone edits the ACL.

  • A Settings → Remote control list of paired phones (name, paired date, last seen), each with Revoke, on both Burrows (Standalone and VS Code).
  • Revoking takes effect on running sessions, not only on the next Burrow start: BurrowService currently hands BurrowRuntime one ACL snapshot for its whole lifetime.
  • A matching dor verb, so an agent or a script can list and revoke.
  • Whether the Relay pushing a revocation to a Burrow (from Pocket on another device, or from the Hosted account page) is in scope or a follow-up. The Burrow stays the only writer of its ACL.

Access log

The Burrow records approvals, and some rejections go to owner-local logs. Nothing answers "did anyone connect to my laptop last night" (docs/specs/security.md -> "Known gaps").

  • An owner-local, append-only, bounded log of connects, attaches, denials (with the specific ACL miss, which stays off the wire), pairings, revocations, and one-time sessions: which phone, when, the path (direct or relayed), and how long.
  • Visible beside the paired-phone list, and through dor.
  • No terminal content, ever. It sits under the same persisted-state boundary as the ACL (docs/specs/security-local.md -> "Persisted state").

Done means

Both Known gaps entries are gone from docs/specs/security.md, the guarantees table gains rows for revocation and the access log with their pins, and the audited rules land in docs/specs/security-remote.md.

主要语言
TypeScript
星标
5
派生
1
平均合并
10 小时 51 分钟
30 天内合并 PR
507

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

diffplug/dormouse 的其他 Issue

查看 diffplug/dormouse 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。