Boost: pair a phone from the desktop app
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- desktop, networking, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- TypeScript
- Star
- 11
- Fork
- 0
- Merge trung bình
- 10 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DojoCodingLabs/hermit
-
docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
DojoCodingLabs/hermit#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DojoCodingLabs/hermit#45 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DojoCodingLabs/hermit#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-lab
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DojoCodingLabs/hermit#43 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-friendly docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
DojoCodingLabs/hermit#39 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DojoCodingLabs/hermit
Issue tương tự
-
bug zoo
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
software-mansion/runntime#151 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
sidebandstudio/clawtrate#728 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement github_actions help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tranquilo-art/tranquilo-app#254 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Tfoucher5/fuzzy-toolkit#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
endora-commerce/endora-commerce#1978 ·
Maintainer thường phản hồi trong vòng 1 ngày