chef-server-ctl add-user-key in 12.1.0 allows adding unnamed keys
Open
Nobody has claimed this yet.
Status: To be prioritized
Triage: Try Reproducing
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
When adding a user key in 12.1.0, one can add a key without a name value which results in a key which cannot be removed. The expected behavior is for the name value to be required or in the case in which a no name is provided, to use the name of "default"
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 by locating the chef-server-ctl add-user-key command and reproduce the unnamed-key behavior described for 12.1.0. Resolve whether unnamed keys should be rejected or named "default", then verify that the resulting key can be removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100