mozilla / mozilla/authenticator-rs

Firefox CTAP2 error Pico Keys

Open
#346 2 comments 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm trying to get pico keys to work in firefox on linux polhenarejos/pico-fido#129. It works on macOS, windows, but it doesn't work linux. I tried looking at the logs via RUST_LOG=authenticator=debug firefox and it gave me this:

[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::transport::platform::device] new device "/dev/hidraw3"
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] Device "/dev/hidraw3" continues with the register process
[INFO  authenticator::ctap2] PIN Error that requires user interaction detected. Sending it back and waiting for a reply
[WARN  authenticator::ctap2] error happened: Error: Error issuing command: CommandError: Error while parsing: trailing data at offset 443
[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.
[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.

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

Reproduce the Pico key CTAP2 failure on Linux using the reported RUST_LOG command, then start with the authenticator::ctap2 and authenticator::statemachine paths shown in the logs. Done means the Firefox registration flow completes without the “trailing data at offset 443” parsing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.