Require authenticated pairing before security-sensitive commands
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
- 25/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ệ
- rust
- Lĩnh vực
- authentication, embedded-iot, security
Hướng nghiên cứu
Start by reading docs/ble.md and checking the pairing and command handling entry points in the firmware, then investigate what trouble-host supports for authenticated pairing. The issue leaves the sensitive command list, pairing method, and existing bond behavior open, so those decisions need to be resolved with the related app and contracts work. Done means Just Works bonds cannot run sensitive commands and the chosen method is documented in docs/ble.md.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of the prerequisites for real commands (tracking issue to follow). Related: #54, #9, mobile-app#25, contracts#8.
Problem
BLE bonding is Just Works, which has no protection against a stranger. While a pairing window is open (60 s with a button, or the first-setup window on a buttonless board), any phone in range can bond. #46 and #53 shrank the window, but they don't authenticate the phone. A bonded phone can later send any BLE command, including ones that unlock the car or open the trunk.
That is acceptable for harmless commands such as flashing the lights or climate control. It is not for door unlock, trunk or frunk.
Proposal
- Classify commands as security-sensitive somewhere both sides read (a proto option or
meta.toml; this overlaps with the delivery kind in contracts#7 and availability in contracts#13). This is a contracts change. - The firmware rejects security-sensitive commands unless the phone's bond was made with MITM protection (LE Secure Connections with passkey entry, numeric comparison or out-of-band data).
- The WiCAN has no display or buttons, so the options are limited. Candidates: a passkey provisioned at setup and shown to the owner; out-of-band data carried in a QR code scanned by the app; or confirming a new phone with a pattern on the LED. The same applies to the way the window is reopened in #54, so decide them together.
- Check what
trouble-hostsupports before choosing.
Open questions
- Which commands count as security-sensitive?
- What happens to phones already bonded with Just Works (re-pair, or limited to non-sensitive commands)?
- Does the app need a state for "paired, but not authenticated"?
Done when
A bond made with Just Works can't run security-sensitive commands, the chosen pairing method is documented in docs/ble.md, and a stranger who bonds during a window can't unlock the car.
- Ngôn ngữ chính
- Rust
- Star
- 1
- Fork
- 0
- Merge trung bình
- 12 giờ 49 phút
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không 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 OpenCarControls/firmware
-
e-gmp enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
OpenCarControls/firmware#75 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
OpenCarControls/firmware#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
OpenCarControls/firmware#72 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
e-gmp enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
OpenCarControls/firmware#71 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
OpenCarControls/firmware#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenCarControls/firmware
Issue tương tự
-
units: No `#` in rustdoc headingĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 67/100
rust-bitcoin/rust-bitcoin#7089 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/tools bug session-analysis
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Python OpenTelemetrySectionConfig has no file_sinksCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NVIDIA/NeMo-Relay#1514 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
prompting proposal tool triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
can1357/oh-my-pi#17041 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
README crane example out of dateĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
nix-community/fenix#262 ·