Make security key selection more flexible
Maintainer thường phản hồi trong vòng 2 ngày
@kpanuragh đang làm issue này rồi.
Từ ngày 11/11/2026.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/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ệ
- linux, rust
- Lĩnh vực
- authentication, backend
Hướng nghiên cứu
Read the existing Enter PIN and credential selection flows to see how ceremony input is received, then trace how USB devices are discovered and how device information is represented. The issue proposes tracking available devices on the ceremony and selecting one by ID, with optional automatic selection. Done means supporting physical, virtual, and automatic selection while exposing device names for display; the issue does not name specific files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In response to feedback from the GNOME Design team, we need some more flexibility for different ways of selecting a security key:
- physical: allow a user to touch a USB security key to select it
- virtual: allow a user to view the connected USB security keys and click a button in the menu to start using it.
- automatic: if a single USB security key is plugged in, then automatically start the ceremony on it.
Currently, we only support the first (physical). I think the latter two can be achieved by syncing a list of available devices to the backend, and then add a function on the frontend to select one of these devices by ID. That covers the virtual one. To achieve the automatic selection, the backend can choose, for example:
- if no devices are connected at the start of the ceremony, and exactly one arrives, automatically select it
- if exactly one device is present at the beginning of the ceremony, wait 1 second, then automatically select it.
This allows credentialsd not to mandate a specific pattern for selecting devices, and desktop environments can decide what's best for their users.
I think this means a few things:
- We need a way to identify USB devices when they are plugged in. This can be as simple as an index
- We need to query authenticator info for the name of the model for display purposes.
- This might mean we'd need to cache the output of getInfo in the device struct.
- We need to make devices a property of the ceremony that can be monitored for changes.
We have a pattern for receiving user input in the Enter PIN and credential selection flows. We can copy that for this input.
We may also want to consider updating our polling API to allow streaming in updates to the device list instead of polling, which would be more efficient and easier to track a stable list. (This is also a consideration for NFC, so I'll post this as a separate issue.)
- Ngôn ngữ chính
- Rust
- Star
- 310
- Fork
- 22
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 linux-credentials/credentialsd
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
linux-credentials/credentialsd#277 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Update screenshotsĐang mởdocumentation good first issue help wanted
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
linux-credentials/credentialsd#87 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`check_origin_from_privileged_client` drops browser signalling intermediate cross-origin iframesĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
linux-credentials/credentialsd#276 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
linux-credentials/credentialsd#275 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Cancel request when client disconnectsCó thể đã có người làm @kpanuragh đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
linux-credentials/credentialsd#274 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của linux-credentials/credentialsd
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pbakaus/impeccable#1620 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
swc-project/swc-next-issues#533 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
nautechsystems/nautilus_trader#5718 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`luvus --remote` cannot start on a host whose login shell is NushellCó thể đã có người làm @schlich đã nhận hôm nay. Đang mởstatus: needs triage
Độ 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 4 ngày