mozilla / mozilla/authenticator-rs

Implement get_property for FreeBSD

Open
#94 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

For FreeBSD, I've left get_property as always returning an error, yielding "Unknown Device" and "Unknown Vendor" as the data returned identifying the device:

https://github.com/mozilla/authenticator-rs/blob/987f3c46e19a30f3adf0a11cea9942ceefb48a4a/src/freebsd/device.rs#L92

This issue is to fill that method in.

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 with src/freebsd/device.rs at the linked get_property method and read the surrounding FreeBSD device handling. Determine how the method should obtain identifying device and vendor data instead of returning an error, then verify that the returned values no longer produce "Unknown Device" and "Unknown Vendor".

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.