mozilla / authenticator-rs

Rust library to interact with Security Keys, used by Firefox
https://crates.io/crates/authenticator
Mozilla Public License 2.0
273 stars 70 forks source link

Add a status update to tell the user to connect a device #312

Open jschanck opened 11 months ago

jschanck commented 11 months ago

Firefox relies on StatusUpdates to determine the UI that should be shown for a transaction. We send PresenceRequired if one device is connected, and we sends SelectDeviceNotice if multiple devices are connected. But there's currently no status update to indicate that no devices are connected.

msirringhaus commented 11 months ago

This would also be very helpful for interactively resetting an authenticator, to determine if the user has unplugged all devices, before starting the reset-flow.