linux-credentials / linux-credentials/libwebauthn

Support multiple bluetooth adapters

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement transport: ble
Dominant language
Rust
Stars
579
Forks
27
Avg merge
4d 6h
Merged PRs (30d)
1

Description

Currently, libwebauthn enumerates Bluetooth adapters on the system and picks the first available to perform all BLE operations.

On some systems, multiple adapters may be available. We may want to allow either using them all at once, or somehow make this user configurable. I'd be curious to understand what other implementations do in this case.

We would also need to figure out how to resolve the duplication issue of discovering the same peripherals with multiple adapters - do we list the same device twice, or deduplicate into one device? If the latter, which adapter do we prefer?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing libwebauthn's Bluetooth adapter enumeration and BLE operation path. Research how other implementations handle multiple adapters, then define whether adapters are used concurrently or selected by configuration and how duplicate peripherals are resolved. Done means the behavior and adapter preference are specified clearly enough to implement.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.