News for hackers. Stuff that matters.
Re:<input type="password" maxlength="20"> prevents me from l... by nemomarx on Friday October 02, 2026 @07:42PM (#49939942)
if the requirements make it less secure, isn't that the issue op is complaining about? max lengths are an anti feature.
Re:<input type="password" maxlength="20"> prevents me from l... by sippingabonedry on Friday October 02, 2026 @07:43PM (#49939959)
Do you believe a 64-character password is magically more secure than a 20-character when they lockout your account after a few wrong tries? Delusion.
Re:<input type="password" maxlength="20"> prevents me from l... by altermetax on Friday October 02, 2026 @07:47PM (#49939989)
Locking you out after a few wrong tries only protects against online attacks. If someone gets access to the database, they have as many attempts as they want.
Re:<input type="password" maxlength="20"> prevents me from l... by phatfish on Friday October 02, 2026 @07:58PM (#49940065)
Brute force a strong 20 character password? Won't the sun have burnt out by the time that is done?

I use strong 12 character passwords at work, on the off chance i have to type them out. And as a favour to anyone else that might have to.

Re:<input type="password" maxlength="20"> prevents me from l... by altermetax on Saturday October 03, 2026 @12:20AM (#49941316)
Are there disadvantages in allowing users arbitrarily long passwords (or with a very high limit, e.g. 256 bytes)? No.

Are there advantages? Yes: the longer the password is, the stronger it is. It doesn't matter if there's a specific point after which cracking takes time till the death of the universe. So there's no point in imposing a limit.

Besides, too many websites limit password length to ridiculous lengths like 12.

Re:<input type="password" maxlength="20"> prevents me from l... by sippingabonedry on Saturday October 03, 2026 @12:51AM (#49941441)
You should reach out to the developers of all the major operating systems and explain how they've been doing it wrong all these years because they all set hard limits.
Re:<input type="password" maxlength="20"> prevents me from l... by xigoi on Saturday October 03, 2026 @02:51AM (#49941928)
For a 20-character password to be strong, you pretty much need to use random characters; you cannot use the superior “correct horse battery staple” approach as you’d be limited to two words, which isn’t very secure.
Re:<input type="password" maxlength="20"> prevents me from l... by phatfish on Saturday October 03, 2026 @09:05AM (#49943934)
True, a pass phrase is a reasonable use of "passwords" >20 characters.
Re:<input type="password" maxlength="20"> prevents me from l... by altruios on Friday October 02, 2026 @07:47PM (#49939993)
> 64-character password is magically more secure than a 20-character

Not magic there, just information theory. but yes, I hear what you are trying to say. It is more cumbersome.

Re:<input type="password" maxlength="20"> prevents me from l... by yjftsjthsd-h on Friday October 02, 2026 @07:46PM (#49939985)
If an attacker compromises the server and gets hashes, yes it could matter.
Re:<input type="password" maxlength="20"> prevents me from l... by sippingabonedry on Friday October 02, 2026 @07:51PM (#49940023)
Sure give or take a few million years.

A 20 character password is for all practical purposes mathematically immune to being brute forced.

Re:<input type="password" maxlength="20"> prevents me from l... by preg_match on Saturday October 03, 2026 @12:33PM (#49945669)
This assumes our computers basically just never evolve. Who knows what will happen in the next 10 years?

And, this doesn’t even take into account dictionary attacks. You don’t need to brute force every character permutation a lot of the time, you just need to brute force words.

Re:<input type="password" maxlength="20"> prevents me from l... by danaris on Saturday October 03, 2026 @02:24PM (#49946532)
Except that

a) when humans generate passwords, they are not perfectly random; they are memorable, which means they often use dictionary words, which are vulnerable to dictionary attacks

b) even if they use moderately good passwords, that can't be broken with the dictionary, there's a high chance of password reuse, and many passwords have already been leaked

c) when password managers generate truly random passwords, they run into exactly the problem in the article

You are so focused on the math of the situation, you ignore the practical realities.

Re:<input type="password" maxlength="20"> prevents me from l... by Atheros on Saturday October 03, 2026 @02:55AM (#49941956)
Allowing extremely long passwords makes everything more secure because it teaches users to use better passwords.

https://xkcd.com/936/