-
-
Notifications
You must be signed in to change notification settings - Fork 385
Default to randomised password and warn user about password being stored in plaintext #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…g stored in plaintext
KillerBOSS2019
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think requiring "word-list" package is necessary. You could simply generate random characters by randomize number between 97-122 then convert that ascii value to a char String.fromCharCode(ascii_code)
I was told by @TibixDev to use the npm package, but I do somewhat agree (that's why I had the eff text list originally). |
How about instead of word, generate random 6 digits? |
|
Or we can just default the password to |
|
True, in that cause then user should choose their own password. Have a default password "winboat", give user warning and understand the risk. And give them the option to change default password to something else. |
|
p.s. just realised the program doesn't even run with the npm packages, not sure how I missed that |
In my opinion, memorable password is a good middle ground, but, perhaps. I just think the default should be reasonably safe, just in case if the user didn't read properly. |
|
But yeah! Thanks for the feedback, I'll have a think about it! |
|
If we merge #383 there's no need to warn user about plaintext password |
Hmm, but in my opinion, it doesn't change the fact that it's stored in plaintext in |
Partially solve #235