mozilla / mozilla/authenticator-rs

CTAP1/U2F commands should not be sent to devices that don't support it

Open
#367 0 comments 0 reactions 1 assignee View on GitHub

@micolous is already working on this.

Since Aug 13, 2026.

Dominant language
Rust
Stars
316
Forks
82
Avg merge
4d 20h
Merged PRs (30d)
1

Description

Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=2063492

https://github.com/mozilla/authenticator-rs/pull/276 added FidoDevice::downgrade_to_ctap1() as an infallible operation to work-around #269 (AppID extension pre-flighting).

However:

In practice:

FidoDevice::downgrade_to_ctap1() should be a fallible operation, and there should be a FidoDevice method which indicates whether a authenticator supports CTAP1 (ie: supports_ctap1()).

When use_ctap2_fallback = true, CTAP2-only authenticators should be excluded as a candidate device.

This issue is reproducible with Firefox Nightly on Linux.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.