mozilla / mozilla/authenticator-rs
Add a status update to tell the user to connect a device
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 316
- Forks
- 82
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the Rust code for the StatusUpdate variants PresenceRequired and SelectDeviceNotice, then trace how transactions choose between them. Add the missing no-device status update for transactions with no connected devices, and verify that Firefox can distinguish this state from the existing one- and multiple-device cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100