alexandrainst / alexandrainst/node-red-http-basic-auth

Default to password hashing

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.