Skip to content

feat(daemon): authenticate local WebSocket peers before registration - #426

Open
iuyo5678 wants to merge 1 commit into
feat/local-pairing-02-storefrom
feat/local-pairing-03-handshake
Open

iuyo5678 wants to merge 1 commit into
feat/local-pairing-02-storefrom
feat/local-pairing-03-handshake

Conversation

@iuyo5678

@iuyo5678 iuyo5678 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Support optional local authentication before browser registration and business traffic. Paired peers prove their local keys, while Warn-mode daemons accept existing extension handshakes. Required mode remains an explicit policy choice.

The protocol validates proofs, identity binding, rotation and saved-candidate recovery before granting authenticated access. The later paired-identity protection PR prevents legacy peers from impersonating an activated browser while keeping unrelated unpaired browsers usable.

Validation across the final stack:

  • Rust workspace: 1,020 passed, one existing ignored; formatting and strict Clippy.
  • Extension: 3,570 passed, 363 environment-dependent skips; TypeScript, Biome and production build.
  • Five real-daemon tests using the current CLI and published 0.4.1; real Chrome for Testing pairing/navigation smoke.
  • The 0.4.2 stage independently passed 131 focused tests, three real-daemon tests, typecheck and Biome.

Stack 3/9; base: #425. Review order: #424 → #425 → #426 → #427 → #428 → #429 → #430 → #431 → #432.

@iuyo5678
iuyo5678 force-pushed the feat/local-pairing-03-handshake branch from a4cd820 to 34d0075 Compare November 2, 2026 10:18

This branch has not been deployed

No deployments
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