Default to randomised password and warn user about password being stored in plaintext#426
Default to randomised password and warn user about password being stored in plaintext#426auri-f5bde6 wants to merge 3 commits intoTibixDev:mainfrom
Conversation
…g stored in plaintext
DamienStaebler
left a comment
There was a problem hiding this comment.
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