Why do so many companies and people say that your password has to be so long and complicated, just to then make restrictions?
I am in the process of changing some passwords (I have peen pwnd and it’s the password I use for use-less-er sites) and suddenly they say “password may contain a maximum of 15 characters“… I mean, 15 is long but it’s nothing for a password manager.
And then there’s the problem with special characters like äàáâæãåā ñ ī o ė ß ÿ ç just to name a few, or some even won’t let you type a [space] in them. Why is that? Is it bad programming? Or just a symptom of copy-pasta?
foo@withachanceof.com 1 year ago
With very few exceptions, yes. There should be no restrictions on characters used/length of password (within reason) if you’re storing passwords correctly.
0xSHODAN@lemmy.world 1 year ago
And if a site does have such restrictions, it could be an indication that they store passwords in plaintext, rather than hashed
Aurenkin@sh.itjust.works 1 year ago
A very high max of something like 500 characters just to make sure you don’t get DOSed by folks hitting your endpoint with kilobytes of data is about the most I would expect in terms of length restrictions. I’m not a security expert or anything though.
dog@suppo.fi 1 year ago
That’s a misunderstanding of DDoS. 0 byte packets are actually worse than large packets.
Which is why most DDoS (at least was) is extremely slow 0 byte requests until the server throttles/crashes under the number of requests.
foo@withachanceof.com 1 year ago
Right, that’s why I put the “within reason” in my comment. You still need to guard against malicious inputs so ultimately there is some max length limit, but it should be way beyond what a reasonable password length should be.