alexandrainst / alexandrainst/node-red-http-basic-auth
Default to password hashing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Suggestion by @quackzar:
Currently the plugin does not provide any methods of hashing stored passwords themselves, but delegates
that to the user. However that risks that the user might provide the easier route of using plaintext
passwords, which is discouraged. Therefore a recommend change is to hash inputted passwords by default,
possibly with an opt-out mechanic or partly disallowing plaintext password storage. In this regard it
is important perform salting, however modern password hashing algorithms, such as bcrypt or argon2id
salt passwords automatically.
Contributor guide
No contributing guide indexed for this repository
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 reviewing how the Node-RED plugin currently receives and stores passwords. Compare the proposed default hashing behavior with bcrypt or argon2id, including salting and an opt-out or plaintext restriction. Done means the default no longer encourages plaintext storage and the chosen behavior is clearly verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100