Boost: pair a phone from the desktop app
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- desktop, networking, security
調査の方向性
Start by reading the designs in #53 and #52 and the dependent issues #65 and #63; this work is blocked until those are accepted or merged and a maintainer approves proceeding. Then inspect apps/boost, the pairing core in packages/boost, and packages/core/src/qr.ts; use the desktop test command with a faked transport. Done means the pairing, refusal, and unpair cases pass, followed by a two machine check and screenshots in both locales.
索引モデルが issue の本文から書いたものです。
説明
Why
US-BOOST-01: the user pairs the laptop running Boost with the phone, through FR-MOVE-01's QR and 6-digit flow, and "the computer never holds the user's keys". This is the computer's half.
What to do
In apps/boost, with the pairing core from packages/boost:
- Make and keep the computer's own key pair, where the stack decision says.
- Show the QR with the payload the design fixed, drawn with
encodeQr(packages/core/src/qr.ts) if it fits. - Listen on the transport the design picked, with the LAN path and the DHT as decided. Accept one phone, show the 6-digit code, and ask the user to confirm it matches the phone's.
- Keep the phone's public key, and accept only that phone afterwards.
- Unpair: forget the key and close the phone's connections. A turn in flight ends as the design says.
- Count every peer and bootstrap host the app contacts, on the app's host list.
Tests first for each step, with the transport faked.
Done when
- In tests, and once by hand on two machines: the pairing spike's phone script pairs, a wrong code fails closed, a second phone is refused, and after Unpair the first phone is refused too.
- Screenshots of each pairing state, in es-419 and en.
How to check
pnpm --filter @hermit/boost-desktop test
pnpm check:privacy && pnpm typecheck && pnpm lint && pnpm test
node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt
Then pair by hand with the pairing spike's phone script on a second machine.
Depends on
- Blocked by the designs in #53 and #52.
- #65
- #63
Keep in mind
- The computer keeps the phone's public key and nothing about the user.
- No server of ours in the middle. A relay, if the design allows one, is the user's own.
- Strings in
packages/copy, in both locales, with no em or en dashes. - Open a pull request only once everything under Depends on is accepted or merged, and a maintainer has said so here (AGENTS.md: code for a feature without an accepted issue may be closed).
- 主要言語
- TypeScript
- スター
- 11
- フォーク
- 0
- 平均マージ
- 10分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DojoCodingLabs/hermit のほかの issue
-
docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
DojoCodingLabs/hermit#73 ·
メンテナーはふだん 1 日以内に返信
-
device-lab
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DojoCodingLabs/hermit#45 ·
メンテナーはふだん 1 日以内に返信
-
device-lab
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
DojoCodingLabs/hermit#44 ·
メンテナーはふだん 1 日以内に返信
-
device-lab
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DojoCodingLabs/hermit#43 ·
メンテナーはふだん 1 日以内に返信
-
agent-friendly docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
DojoCodingLabs/hermit#39 ·
メンテナーはふだん 1 日以内に返信
DojoCodingLabs/hermit の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
superlinked/sie#1033 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
remix-run/react-router#15838 ·
メンテナーはふだん 1 日以内に返信
-
area/ci bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melgarafael/DeskcommCRM#5290 ·
メンテナーはふだん 1 日以内に返信