linux-credentials / linux-credentials/credentialsd
Rename Credential struct fields
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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