mozilla / mozilla/authenticator-rs

Add AuthenticatorData::to_writer

Open
#302 0 comments 0 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

An AuthenticatorData::to_writer function would let us avoid some copies from Vec<u8> to ThinVec<u8> in Firefox.

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 locating the AuthenticatorData type and its existing serialization or output paths. Determine how a to_writer API could avoid copies between Vec and ThinVec, then run the relevant existing tests and add coverage showing the writer produces the expected authenticator data.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.