My bank: “your password is too long, please choose a new password.”
Should never be an error message, ever.
My bank: “your password is too long, please choose a new password.”
Should never be an error message, ever.
@nixCraft well no, there’s no reason why someone should be able to paste an entire novel into the password field.
However the length limit should be sane enough it’s not likely to trip anyone up in normal usage.
I think it's reasonable to cap a password length at 128 or 256 characters.
That's not what they are doing... but I'd be OK if that's how high the number was.
Translation: We do not know how to store a hash, so you probably should not bank with us.
@nixCraft
Reminds me of some server I manage.
User: sets a 32 character password.
Supermicro IPMI2: that seems long let's use the first 19 characters only and sends an password sets successfully message.
User: tries to log in with their 32 character password.
Supermicro: password doesn't match.
@nixCraft
Bank: your password is too tall
Me: p̱͕̹̰̤̭̲̲̮̬̳̩̱ͪͭ̉͑̐ͯͧ͒ͬ̂͑̑͐a̩̳̪̺̘͓̗̙͙̬ͩ͂̿̐ͩ͒́̓̎̅̈ͅṣ̯̤̝̟̻̣̗̝̻̹͊̍̊́͂̍̇ͯ̍̆̚s̻̥̗͔̗̥͖͔̘͔͊͆ͨͩ̐ͦ̅̃͗ͦw̮̭͖͙̼̬͚̜ͯ͊͗ͫ̈̈̓ͪo͙͕͔̘̳͕̞͚̲̜͚ͅrͪͭd̍ͨ͂͂͌͆̈́̚
I've had that experience.
@nixCraft that’s about as good as the Microsoft Support tech telling me last week that I had “too much security” when I was required to escalate priv in order to reinstall O365 on one of our user’s machines.
I laughed in the guys face, asked him if he really just said that and told him that he’d have to take his grievances up with M$ developers and security engineers.
Not necessarily. There are legitimate performance considerations to using too long passwords, since they increase the burden on the authenticating server.
A 32 character limit is too low though.
The password is, after all, sent in plaintext from the browser to server (over HTTPS).
@nixCraft my personal pet peeves was a dissonance between Adobe's password policy in their ID mgmt and inside Photoshop.
Created an account with password X online.
Photoshop: invalid password cannot XYZZY jadajadajada
@nixCraft this happens to me a lot, generating passwords using a generator, I often have to figure out the maximum length of a website by trial and error.
Actually most websites have a maximum character limit, though most don't implement a warning or message about the max chars at all.
@nixCraft Exactly, why bother with the error message when you can just use <input maxlength=20>, everybody understands that :-D (My bank did this, and only in some places, so the supposedly same password did not work.)
My favourite story though is when a public transit service changed their password policy and limited length in the login form, so I could no longer log in with long password. And the password change form was proactively removing characters which were not Czech enough, without any notice whatsoever. Completely brain-dead.