linux-credentials / linux-credentials/credentialsd

Rename Credential struct fields

Open
#79 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Rust
Stars
259
Forks
19
Avg merge
1d 2h
Merged PRs (30d)
12

Description

field names of `credentialsd_common::model::Credential` type are confusing/flipped: `name` is an ID/username, and `username` is a name. We should rename them (or just use the names from the WebAuthn spec).

Contributor guide

Open the contributing guide

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 credentialsd_common::model::Credential and trace every use of its name and username fields. Compare the intended terminology with the WebAuthn specification before choosing the replacement names. Done means the fields and their references consistently use the corrected terminology and the project checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication
Issue type
Refactor
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.