Make security key selection more flexible
Maintainer antworten meist innerhalb von 2 Tagen
@kpanuragh arbeitet bereits daran.
Seit 11.11.2026.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- linux, rust
- Bereich
- authentication, backend
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.)
- Vorherrschende Sprache
- Rust
- Sterne
- 310
- Forks
- 22
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 13
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus linux-credentials/credentialsd
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
linux-credentials/credentialsd#277 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Update screenshotsOffendocumentation good first issue help wanted
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 62/100
linux-credentials/credentialsd#87 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
`check_origin_from_privileged_client` drops browser signalling intermediate cross-origin iframesOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
linux-credentials/credentialsd#276 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
linux-credentials/credentialsd#275 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Cancel request when client disconnectsEvtl. vergeben @kpanuragh hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
linux-credentials/credentialsd#274 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in linux-credentials/credentialsd
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
needs triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
pbakaus/impeccable#1620 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
swc-project/swc-next-issues#533 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
nautechsystems/nautilus_trader#5718 ·
Maintainer antworten meist innerhalb von 1 Tag
-
`luvus --remote` cannot start on a host whose login shell is NushellEvtl. vergeben @schlich hat das heute übernommen. Offenstatus: needs triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 4 Tagen