Lurker News
Back to discussion

Comment by Epitom3

Epitom31 reply#
always use 12-18 digit random passwords and an authenticator app for 2fa.
path4111 reply#
If you are using a random password generator, don't be doing 12 character lol. Do 20+
wohfab1 reply#
Yeah, true. I do 64 on default, except the service doesn't allow it, then I'll do the max allowed characters.
jspash3 replies#
Be care with that! I've created accounts in the past with a 40+ random character password and everything went swimmingly. Until I tried to log in. Bzzzt! Couldn't get in.

Apparently the password had a character limit that wasn't mentioned when signing up and was silently truncated server-side. A bit of investigation showed the had maxlength="20" which is only enforced when typing characters. When using Javascript to fill a form will just ignore this attribute. https://codepen.io/jspash/pen/XWerVzY

Continue this thread — 3 replies