News for hackers. Stuff that matters.
Re:Show HN: A compilation of websites with dumb password rules by gorjusborg on Wednesday February 15, 2023 @09:20AM (#34804098)
Oh, and if you have a maximum password length, I don't trust you with my data.
Re:Show HN: A compilation of websites with dumb password rules by madamelic on Wednesday February 15, 2023 @09:34AM (#34804310)
Only surpassed by _having_ a password length then truncating it to fit rather than throwing an error at registration.

That one is a fun one to find out.

Re:Show HN: A compilation of websites with dumb password rules by throwaway742 on Wednesday February 15, 2023 @09:47AM (#34804493)
T-Mobile has a fun one. When creating the account they let me set a IIRC 6 digit account security PIN, but when setting up online access they only accepted a 4 digit PIN necessitating a call to customer service to reset the PIN.

Bonus Points: resetting the PIN had almost no security checks making it completely worthless as security

Re:Show HN: A compilation of websites with dumb password rules by happymellon on Wednesday February 15, 2023 @10:38AM (#34805214)
HSBC UK does this.
Re:Show HN: A compilation of websites with dumb password rules by WelcomeShorty on Wednesday February 15, 2023 @02:16PM (#34809068)
Swiss bank Cler is guilty of this too, in a way.

At (initial) password change they allow plenty of characters, but it is truncated without notice. After the password change, at login, it does not get truncated and you are not able to login, nor can you change your password ever again (until a password reset via mail (no email) arrives. Fun times.

Re:Show HN: A compilation of websites with dumb password rules by reidjs on Wednesday February 15, 2023 @09:46AM (#34804478)
You can’t just let users paste in 18,000 characters you need to limit the password length somewhere. But I agree a limit less than 255 chars is insane.
Re:Show HN: A compilation of websites with dumb password rules by gorjusborg on Thursday February 16, 2023 @09:08AM (#34818800)
> You can’t just let users paste in 18,000 characters

Thank you for speaking up. And here it is: I don't trust you with my data.

Passwords should not be stored in a database. Period.

So how do you check a password if you can't store it? Hash it with a salt. This results in a fixed width output, regardless of the password size.

If you are setting a max password, it's because you are trying to store it as-is, which is why I don't trust you to store my data.

Edit: I also think it makes sites that do this a target security wise. It's like advertising ignorance.