Password length requirement

2 years ago by cron to c/cybersecuritymemes

Last week, I tried to register for a service and was really surprised by a password limit of 16 characters. Why on earth yould you impose such strict limits? Never heard of correct horse battery staple?

faltryka 144 points 2 years ago

This is my biggest pet peeve. Password policies are largely mired in inaccurate conventional wisdom, even though we have good guidance docs from NIST on this.

Frustrating poor policy configs aside, this max length is a huge red flag, basically they are admitting that they store your password in plan text and aren’t hashing like they should be.

If a company tells you your password has a maximum length, they are untrustable with anything important.

path: 0 11841466, hotness: undefined, score: 144, children: 36
cron 88 points 2 years ago

Oh I had the same thought. Whoever limits password length probably has many other shitty security practices.

path: 0 11841466 11841504, hotness: undefined, score: 88, children: 0
slazer2au 32 points 2 years ago path: 0 11841466 11841565, hotness: undefined, score: 32, children: 2
cron 58 points 2 years ago

OWASP recommendation is to allow 64 chars at least:

Maximum password length should be at least 64 characters to allow passphrases (NIST SP800-63B). Note that certain implementations of hashing algorithms may cause long password denial of service.

The lemmy-UI limit is reasonably close and as everything is open source, we can verifiy that it does hash the password before storing it in the database.

There is a github issue, too.

path: 0 11841466 11841565 11841651, hotness: undefined, score: 58, children: 0
faltryka 15 points 2 years ago

It being open source helps because we can confirm it’s not being mishandled, but it’s generally arbitrary to enforce password max lengths beyond avoiding malicious bandwidth or compute usage in extreme cases.

path: 0 11841466 11841565 11845851, hotness: undefined, score: 15, children: 0
unmagical 20 points 2 years ago

If a company tells you your password has a maximumn length, they are untrustable with anything important.

I would add if they require a short "maximum length." There's no reason to allow someone to use the entirety of Moby Dick as their password, so a reasonable limit can be set. That's not 16 characters, but you probably don't need to accept more than 1024 anyway.

path: 0 11841466 11843676, hotness: undefined, score: 20, children: 11
Valmond 6 points 2 years ago

Why not? You're hashing it anyways, right?

Right?!

path: 0 11841466 11843676 11847070, hotness: undefined, score: 6, children: 8
phcorcoran 12 points 2 years ago

Sure but if my password is the entire lord of the rings trilogy as a string, hashing that would consume some resources

path: 0 11841466 11843676 11847070 11847192, hotness: undefined, score: 12, children: 1
Valmond 3 points 2 years ago

I think there are other problems before that 😂

path: 0 11841466 11843676 11847070 11847192 11847611, hotness: undefined, score: 3, children: 0
unmagical 5 points 2 years ago

Of course, but if you're paying for network and processing costs you might as well cap it at something secure and reasonable. No sense in leaving that unbounded when there's no benefit over a lengthy cap and there are potentially drawbacks from someone seeing if they can use the entirety of Wikipedia as their password.

path: 0 11841466 11843676 11847070 11852047, hotness: undefined, score: 5, children: 4
DaPorkchop_ 2 points 2 years ago

You can also hash it on the client-side, then the server-side network and processing costs are fixed because every password will be transmitted using same number of bytes

path: 0 11841466 11843676 11847070 11852047 11855349, hotness: undefined, score: 2, children: 3
frezik 2 points 2 years ago

Bcrypt and scrypt functionally truncate it to 72 chars.

There's bandwidth and ram reasons to put some kind of upper limit. 1024 is already kinda silly.

path: 0 11841466 11843676 11847070 11852046, hotness: undefined, score: 2, children: 0
Revan343 1 point 2 years ago

you probably don't need to accept more than 1024 anyway.

OWASP recommends allowing at least 64 characters. That would cover all of my passphrases, including the ones that are entire sentences

path: 0 11841466 11843676 11853021, hotness: undefined, score: 1, children: 0
AA5B 1 point 2 years ago

I wonder if a lot of it is someone using their personal experience and saying “just a little bigger ought to cover it”

When I used my own passwords, I rarely used more than 12 characters, so that should be enough

All the password generators I’ve used default to about 24 chars, so 30 ought to be enough for anyone

path: 0 11841466 11843676 11852465, hotness: undefined, score: 1, children: 0
clearedtoland 13 points 2 years ago

The number of government websites that I’ve encountered with this “limitation.” Even more frustrating when it’s not described upfront in the parameters or just results in an uncaught error that reloads the page with no error message.

path: 0 11841466 11842450, hotness: undefined, score: 13, children: 1
DarkDarkHouse 1 point 2 years ago

Or accepts and silently truncates it 🤬

path: 0 11841466 11842450 11857527, hotness: undefined, score: 1, children: 0
chameleon 10 points 2 years ago

bcrypt has a maximum password length of 56 to 72 bytes and while it's not today's preferred algo for new stuff, it's still completely fine and widely used.

path: 0 11841466 11843951, hotness: undefined, score: 10, children: 1
DaPorkchop_ 2 points 2 years ago

Wait, really? I always thought bcrypt was just a general-purpose hash algorithm, never realized that it had an upper data size limit like that.

path: 0 11841466 11843951 11855363, hotness: undefined, score: 2, children: 0
primrosepathspeedrun 2 points 2 years ago

also, if they think a strong password is only about types of characters. a dozen words from as many languages and 5+alphabets is just as good!

its to the point I don't bother remembering my passwords anymore, because this bullshit makes user-memorable-hard-to-machine-guess passwords impossible.

path: 0 11841466 11851586, hotness: undefined, score: 2, children: 0
Reverendender 1 point 2 years ago

I am now very concerned about a certain medical implant device company

path: 0 11841466 11853898, hotness: undefined, score: 1, children: 0
boredsquirrel 0 points 2 years ago

True!

path: 0 11841466 11841676, hotness: undefined, score: 0, children: 0
MotoAsh -9 points 2 years ago
path: 0 11841466 11845228, hotness: undefined, score: -9, children: 12
wer2 14 points 2 years ago

It doesn't matter the input size, it hashes down to the same length. It does increase the CPU time, but not the storage space. If the hashing is done on the client side (pre-transmission), then the server has no extra cost.

For example, the hash of a Linux ISO isn't 10 pages long. If you SHA-256 something, it always results in 256 bits of output.

On the other hand, base 64-ing something does get longer as the input grows.

path: 0 11841466 11845228 11845469, hotness: undefined, score: 14, children: 4
redxef 3 points 2 years ago

Hashing on the client side is as secure as not hashing at all, an attacker can just send the hashes, since they control the client code.

path: 0 11841466 11845228 11845469 11851178, hotness: undefined, score: 3, children: 3
DaPorkchop_ 4 points 2 years ago

Then you can salt+hash it again on the server.

path: 0 11841466 11845228 11845469 11851178 11855380, hotness: undefined, score: 4, children: 0
wer2 3 points 2 years ago

Hashing is more about obscuring the password if the database gets compromised. I guess they could send 2^256 or 2^512 passwords guesses, but at that point you probably have bigger issues.

path: 0 11841466 11845228 11845469 11851178 11852161, hotness: undefined, score: 3, children: 1
Sluyter548 6 points 2 years ago

Can you not simply have a hashing algorithm that results in a fixed length hash?

path: 0 11841466 11845228 11845418, hotness: undefined, score: 6, children: 1
frezik 8 points 2 years ago

That would be all of them, yes.

path: 0 11841466 11845228 11845418 11852059, hotness: undefined, score: 8, children: 0
frezik 5 points 2 years ago

Just in case someone runs across this and doesn't notice the downvotes, the parent post is full of inaccuracies and bad assumptions. Don't base anything on it.

path: 0 11841466 11845228 11852086, hotness: undefined, score: 5, children: 0
explodicle -1 points 2 years ago

Why not just store the first X characters of the hashed password?

path: 0 11841466 11845228 11845443, hotness: undefined, score: -1, children: 3
frezik 1 point 2 years ago

The hash isn't at all secure when you do that, but don't worry too much about it. GP's thinking about how things work is laughably bad and can't be buried in enough downvotes.

path: 0 11841466 11845228 11845443 11860624, hotness: undefined, score: 1, children: 2
explodicle 1 point 2 years ago

Where can I read more about how it's not secure?

path: 0 11841466 11845228 11845443 11860624 11860995, hotness: undefined, score: 1, children: 1
akilou 61 points 2 years ago

I had to make an account the other day with the absolute worst password requirements I've ever seen:

path: 0 11841624, hotness: undefined, score: 61, children: 6
cron 39 points 2 years ago

Do you know the password game?

The digits in your password must add up to 25.

path: 0 11841624 11841692, hotness: undefined, score: 39, children: 1
Spiralvortexisalie 8 points 2 years ago

Yeah but the stakes are higher in Jersey you can get fined or even jail for messing up that password.

path: 0 11841624 11841692 11842475, hotness: undefined, score: 8, children: 0
halloween_spookster 15 points 2 years ago

When I was working on a password system a few years ago, I found some amazingly bad password requirements. One that stuck with me was it couldn't contain any two digit years (e.g. 08).

I'll also leave this here: https://dumbpasswordrules.com/sites-list/

path: 0 11841624 11844543, hotness: undefined, score: 15, children: 1
DaPorkchop_ 1 point 2 years ago path: 0 11841624 11844543 11855407, hotness: undefined, score: 1, children: 0
ChickenLadyLovesLife 4 points 2 years ago

Ugh, I'm unfortunately even more bothered by the random extra spaces at the start of the first and last requirements than I am by the security horror.

path: 0 11841624 11852952, hotness: undefined, score: 4, children: 0
RebekahWSD 3 points 2 years ago

I am now even more relieved that the NJ courts have removed me permanently from jury duty, so my chances of interacting with that entire nonsense has gone down. A bit. Just a bit down.

Now I just must try to not be taken to court or take one to court.

This is where hiding inside might help.

path: 0 11841624 11845437, hotness: undefined, score: 3, children: 0
paris 57 points 2 years ago

The worst is when it either won't tell you what the character limit is so you have to just keep lowering it and retrying until it finally works, or when the infrastructure for signing up has a different character limit than the infrastructure for logging in, so you can sign up with a long password but can't actually sign in with it. I once encountered a website that had this issue for both the password AND username so I had to change my password and then contact support to change my username. Absurd.

path: 0 11845945, hotness: undefined, score: 57, children: 4
Nicadimos 18 points 2 years ago

I used to manage a system that had a longer character limit on the creation than in the sign in. To fix it, they just let you type in more characters when you signed in but only validated the first 8 anyway. 🤦‍♂️

path: 0 11845945 11852652, hotness: undefined, score: 18, children: 0
Transporter_Room_3 16 points 2 years ago

Honestly at that point, it's not worth using the service to me if I have to contact support just to sign in.

path: 0 11845945 11846117, hotness: undefined, score: 16, children: 0
CoggyMcFee 5 points 2 years ago

I used a service that had password validation on the “current password” field when you update your password. My password had stopped being valid due to a change in their password policy, but I couldn’t fix it because the “update password” form kept saying my current password was invalid. I know — you told me to change it!!!!

path: 0 11845945 11860137, hotness: undefined, score: 5, children: 0
absGeekNZ 3 points 2 years ago

I have had this before, I was so confused for a while.

Made account used my password manager, so I knew the password was correct, went around the loop a few times of "forgot password"; finally shortened form 25 to 16 characters and it just worked.

path: 0 11845945 11853286, hotness: undefined, score: 3, children: 0
9point6 49 points 2 years ago

I know a bank with a 12 character max, no symbols password restriction.

Ridiculous

path: 0 11843188, hotness: undefined, score: 49, children: 15
nokturne213 29 points 2 years ago

Mine does not allow spaces. They used to use a 4 digit pin as 2FA. Not a new pin you got every time you logged in, the same 4 digit pin.

path: 0 11843188 11843362, hotness: undefined, score: 29, children: 0
cynar 15 points 2 years ago

A lot of bank computing is a complete clusterf@#k. Getting even basic changes and bug fixes requires it being signed off on by various regulators and committees. Apparently, 18 months for a 1 line change is normal. This has ended up with layers of new work being frankensteined onto older systems. E.g. Internet banking, for a long time, physically printed checks, via an automated machine, posted them, and then had them read in, via an automated machine. Hence why Internet bank transfers took 2-3 days.

I had issues with my banks truncating my password a while back. It only looked at the first 8 characters.

path: 0 11843188 11844221, hotness: undefined, score: 15, children: 0
AlecSadler 11 points 2 years ago

One of my past banks used to be case-insensitive. They aren't anymore (as far as I know). Their name starts with Key and ends with Bank.

path: 0 11843188 11843590, hotness: undefined, score: 11, children: 1
ChickenLadyLovesLife 2 points 2 years ago

My bank got busted a few years ago for cheating customers using their coin-counting machines. Literally nickel-and-dimed their own customers. They removed the machines and just threw loose cloth over the empty spaces - an ongoing testament to their shame, if they could feel shame, which they can't. Out of sheer laziness I'm still with them.

path: 0 11843188 11843590 11852864, hotness: undefined, score: 2, children: 0
Wizard_Pope 1 point 2 years ago

Sheesh

path: 0 11843188 11843634, hotness: undefined, score: 1, children: 0
SkunkWorkz 1 point 2 years ago

Crazy that there are still banks that use a username and password for login.

path: 0 11843188 11847188, hotness: undefined, score: 1, children: 9
tfw_no_toiletpaper 1 point 2 years ago

What else should it be, aside from additional 2FA?

path: 0 11843188 11847188 11852381, hotness: undefined, score: 1, children: 8
SkunkWorkz 1 point 2 years ago

In my country all banks just use, instead of a username, the IBAN plus bank card serial number and they give their clients a hardware token that generates one time passwords. The client inserts their bank card into the hardware token then enter their PIN and gets the OTP to login. And when the client wants to make a transfer the bank generates a code that the client has to enter into the hardware token after entering their PIN to generate an OTP which the client uses to confirm the transfer. And if the client has the bank app installed on their phone the bank website generates a QR code which the client can scan with the app and then the client can login with their biometrics. Of course the client has to activate the app with the hardware token first.

This isn’t that much different from a username, password plus 2FA. But this way it takes out the weakness that is the client. This prevents the client from using an easy password or use a username and password that they use everywhere else. Old people don’t write down their password anywhere since there is no password. But they know their PIN by heart since they use it all their life. And it doesn’t rely on apps or SMS for 2FA. So people without a smartphone or even a mobile phone can still use it. Keyloggers are useless since the PIN is entered on the hardware token. Sure a sophisticated con is still possible but thefts like these https://appleinsider.com/... where the thieves can drain a bank account if they just steal the phone and phone’s passcode and reset the 2FA are impossible.

The biggest weakness is ofcourse that if someone knows your PIN and obtains your bank card they can enter your bank account online. So the same security measure still applies with this that you should open a savings account at a different bank than your checking account.

path: 0 11843188 11847188 11852381 11856181, hotness: undefined, score: 1, children: 7
smeg 1 point 2 years ago
path: 0 11843188 11847188 11852381 11856181 11870877, hotness: undefined, score: 1, children: 6
Lycist 40 points 2 years ago

Its even better when they don't tell you that your password is too long, and they truncate it somewhere unknown.

Tried a randomgen 32 character password at the local sheriff's office. Copy and pasted it directly out of my password manager into the password creation field so I know I didn't typo it and when I tried to login it wouldn't work. Took me a bit of troubleshooting to figure out what happened.

path: 0 11841439, hotness: undefined, score: 40, children: 8
cron 12 points 2 years ago

Oh that's evil.

path: 0 11841439 11841492, hotness: undefined, score: 12, children: 1
Zorsith 6 points 2 years ago

Ive seen an account creation or password reset that let's you do any length password, but the actual login page has a character limit.

path: 0 11841439 11841492 11844264, hotness: undefined, score: 6, children: 0
bamboo 8 points 2 years ago

About 10 years ago this happened to me at chase.com. IIRC they truncated at 30 characters at the time.

path: 0 11841439 11841782, hotness: undefined, score: 8, children: 0
wreckedcarzz 4 points 2 years ago

That happens all the fucking time, and it's infuriating. Most recent example was with Kagi, which I eventually found out had a max of 72, truncated, no warning. I bitched out their support and they were like 'nbd, and it should have warned you' and I'm like 'nope, no warning at all' which means they didn't bother checking if a warning actually showed or prevented the input, just 'I wrote it so we must be good'.

They claim to have fixed this, but ugh. Took me a half an hour, and I started with the suspicion that it was being truncated. Test your shit if you're going to be stupid, people.

path: 0 11841439 11847201, hotness: undefined, score: 4, children: 4
Rogue 1 point 2 years ago

What are the benefits of a password greater than 72 characters? How high do you try to go?

path: 0 11841439 11847201 11851313, hotness: undefined, score: 1, children: 2
AA5B 2 points 2 years ago

The longer it is, the harder for anyone to guess, write down, remember, or brute force. For that long a password, someone can actually see my password and then have effectively zero chance of being able to use it.

But maybe it’s more a ”why not?” In one side it’s generated so you can use it equally well, and in the other side it should be hashed to a standard length so they should be able to manage it equally well.

path: 0 11841439 11847201 11851313 11852595, hotness: undefined, score: 2, children: 1
frezik 1 point 2 years ago

When I did the math with a reasonable list of alphanums and symbols on a US standard keyboard, a 40 char randomly generated password had equivalent security to a 256 but block cipher key. Describing the difficulty in brute forcing that starts with the phrase "assume you can convert all the energy from a supernova at 100% efficiency into a thermodynamiclly perfect computer". A roundabout way of saying impossible.

40 chars random is already overkill.

path: 0 11841439 11847201 11851313 11852595 11854345, hotness: undefined, score: 1, children: 0
frezik 1 point 2 years ago

Bcrypt and scrypt have a limit of 72 chars, so it's probably that. Implementations can work around it by putting the password through a pre-hash, but most don't bother. There are tons of reasonably secure password storage systems with that limit.

path: 0 11841439 11847201 11854298, hotness: undefined, score: 1, children: 0
youngalfred 39 points 2 years ago

A prominent Australian bank has these requirements:

For Internet Banking, your password must be six to eight characters long.

To improve security, it should:

contain both numbers and letters.
include upper and lower-case letters (your password is case sensitive).

path: 0 11841631, hotness: undefined, score: 39, children: 4
smeg 10 points 2 years ago
path: 0 11841631 11842942, hotness: undefined, score: 10, children: 2
Rhaedas 6 points 2 years ago

Could be (probably still is) running COBOL. It's a combination of "if it works and costs money to upgrade, why change" but mostly "if we migrate one thing it will break five other things".

path: 0 11841631 11842942 11845424, hotness: undefined, score: 6, children: 1
smeg 1 point 2 years ago
path: 0 11841631 11842942 11845424 11845525, hotness: undefined, score: 1, children: 0
clearedtoland 7 points 2 years ago

8??? For banking? I haven’t used less than like 16 in at least 5, maybe 10 years. Jeez.

path: 0 11841631 11842465, hotness: undefined, score: 7, children: 0
lseif 33 points 2 years ago

worst i've seen is 8 characters. precisely 8 characters, no more no less........ it was for a bank ....

path: 0 11852335, hotness: undefined, score: 33, children: 17
dwemthy 16 points 2 years ago

A major US bank that I used to use has case insensitive passwords, found that out one day when I noticed caps lock was on after logging in with no trouble

path: 0 11852335 11853379, hotness: undefined, score: 16, children: 5
viking 13 points 2 years ago

Makes you wonder if they store the password in plain text, or convert to lower key during your first input so it's at least hashed. I wouldn't be surprised if it's not.

path: 0 11852335 11853379 11854006, hotness: undefined, score: 13, children: 4
lseif 12 points 2 years ago

they store the passwords as filenames on a windows system

path: 0 11852335 11853379 11854006 11855039, hotness: undefined, score: 12, children: 2
subignition 4 points 2 years ago

Put a colon in your password and crash the whole system

path: 0 11852335 11853379 11854006 11855039 11858170, hotness: undefined, score: 4, children: 1
JustAnotherRando 4 points 2 years ago

I don't think it could be hashed if it is case insensitive. It's fairly early so I may be misremembering but I'm not aware of any hashing algo that ignores case.

Edit: Ah, actually they could be storing the password as a hash, but they would probably have to do like a password. ToLower() call or something where they morphed the string before checking... The thought of which just makes me shudder.

path: 0 11852335 11853379 11854006 11858852, hotness: undefined, score: 4, children: 0
tiredofsametab 6 points 2 years ago

Early 2000s internet banking was a trip.

path: 0 11852335 11852527, hotness: undefined, score: 6, children: 1
lseif 2 points 2 years ago

i think this was about a year ago when they changed it....

path: 0 11852335 11852527 11855049, hotness: undefined, score: 2, children: 0
Revan343 3 points 2 years ago

Ha. I had the same thing, with a government-run student loan website

path: 0 11852335 11852914, hotness: undefined, score: 3, children: 0
299792458ms 3 points 2 years ago

I had to make a 10 character password for Santander

path: 0 11852335 11853206, hotness: undefined, score: 3, children: 0
proton_lynx 3 points 2 years ago

No no, not 8 characters, 8 numerical characters!

path: 0 11852335 11852724, hotness: undefined, score: 3, children: 3
JackbyDev 6 points 2 years ago

Whoa whoa whoa, did you use two of the same number in a row? Insecure!

path: 0 11852335 11852724 11852986, hotness: undefined, score: 6, children: 1
proton_lynx 2 points 2 years ago

Is that a sequence? No way, José!

path: 0 11852335 11852724 11852986 11853141, hotness: undefined, score: 2, children: 0
milicent_bystandr 3 points 2 years ago

Numerical Chateaubriand*, and total sum must be less than 3.

* okay Google, if that's what you really think I meant to type.

path: 0 11852335 11852724 11852888, hotness: undefined, score: 3, children: 0
Donkter 3 points 2 years ago

The fact that it was a power of 2 makes me suspect lazy coding. That bank didn't pay its programmers well enough.

path: 0 11852335 11852506, hotness: undefined, score: 3, children: 2
milicent_bystandr 4 points 2 years ago

Banks don't have much money for paying people, methinks. They're famously poor practically non-profits.

path: 0 11852335 11852506 11852897, hotness: undefined, score: 4, children: 0
lseif 1 point 2 years ago

maybe they store the entire password as a u64 and bitmask out each character

path: 0 11852335 11852506 11855067, hotness: undefined, score: 1, children: 0
MisterFrog 33 points 2 years ago

I got this from a bank. A BANK. Not only was it limited to 12 characters. THEY ALSO LIMITED THE SPECIAL CHARACTER SET.

I complained and was told, oh that's why we have the security number for (a unchanging six digit code), and I'm like, that's basically 1 password with 18 character limit and 6 of the characters are definitely numbers.

Not only that, 2FA is not available for logon, it just says "to authenticate certain types of Internet and Mobile Banking transactions".

I couldn't believe it. Surprise, surprise, there are no minimum password security regulations in Australia...

path: 0 11854185, hotness: undefined, score: 33, children: 0
SSJMarx 27 points 2 years ago
path: 0 11849200, hotness: undefined, score: 27, children: 11
primrosepathspeedrun 14 points 2 years ago

but not 2! and not THAT special character! and...

path: 0 11849200 11851538, hotness: undefined, score: 14, children: 8
Agent641 17 points 2 years ago path: 0 11849200 11851538 11851769, hotness: undefined, score: 17, children: 2
PraiseTheSoup 8 points 2 years ago

I would thank you to quit publishing my email address in public forums for no reason.

path: 0 11849200 11851538 11851769 11854107, hotness: undefined, score: 8, children: 0
primrosepathspeedrun 5 points 2 years ago

OOPS we think this password is too long for you to remember, try again! and change it again in a month. your best buy account that we forced you create and are going to have a data breach on in about fifteen minutes is VERY IMPORTANT AND MUST BE SECURE

path: 0 11849200 11851538 11851769 11852011, hotness: undefined, score: 5, children: 0
pixelscript 6 points 2 years ago

I just reset my password with Southwest Airlines today. They had both the stupid 16 character limit and the stupid list of permitted special characters. But they also had the perplexing criterion that the first character of the password specifically couldn't be one of those permitted special characters.

Literally why.

path: 0 11849200 11851538 11853410, hotness: undefined, score: 6, children: 4
subignition 3 points 2 years ago

Poor input sanitization probably.

path: 0 11849200 11851538 11853410 11858191, hotness: undefined, score: 3, children: 2
pixelscript 1 point 2 years ago

I'm not saying it was a soft rule where the form refused to validate my input. It was an actual, fully-described rule in the bulleted list among the other rules. For whatever reason they specifically went out of their way to enforce it. And I cannot fathom why they would.

path: 0 11849200 11851538 11853410 11858191 11863383, hotness: undefined, score: 1, children: 1
primrosepathspeedrun 1 point 2 years ago

when CEOs make security policy.

path: 0 11849200 11851538 11853410 11871441, hotness: undefined, score: 1, children: 0
milicent_bystandr 2 points 2 years ago

Your password must contain at least one swear word.

path: 0 11849200 11852909, hotness: undefined, score: 2, children: 0
funkless_eck 1 point 2 years ago

I hate that, why can't I use something like £ or Ł?

path: 0 11849200 11852978, hotness: undefined, score: 1, children: 0
Treczoks 24 points 2 years ago

Eons ago, I got an account for using a software on an IBM mainframe. Keep in mind that the machine used masks with fixed-width text fields on the terminal (TN3270, IIRC), even for the login mask. Being security cautious, the first thing I did after login was to change my password. The "change password" mask allowed for passwords of up to 12 characters, which I used freely. I logged out, got back to the login mask - which only allowed for an eight character password...

path: 0 11855386, hotness: undefined, score: 24, children: 0
grue 23 points 2 years ago

"correct horse battery staple" is for your password manager password. The regular passwords for services should be random character gibberish.

Edit: to be clear, though, I'm not excusing their failure to allow >16 characters of gibberish.

path: 0 11842442, hotness: undefined, score: 23, children: 1
Hexbatch 10 points 2 years ago path: 0 11842442 11842522, hotness: undefined, score: 10, children: 0
HowManyNimons 23 points 2 years ago

ADD FIELD PASSWORD VARCHAR(16)

path: 0 11846761, hotness: undefined, score: 23, children: 6
Sibbo 10 points 2 years ago

SELECT * FROM users WHERE name = "$name" OR password = "$password"

path: 0 11846761 11846929, hotness: undefined, score: 10, children: 0
cron 6 points 2 years ago
sqlquery = "INSERT INTO users (username, password) VALUES ('" + username + "', '" + password + "')"

What could go wrong?

path: 0 11846761 11846908, hotness: undefined, score: 6, children: 4
Gremour 14 points 2 years ago

Password=a");drop table users;--

Alas, it's longer than 16 characters. Protection works!

path: 0 11846761 11846908 11847250, hotness: undefined, score: 14, children: 1
_bcron 5 points 2 years ago

They often don't allow semicolons but it's never stopped me from checking

path: 0 11846761 11846908 11847250 11848768, hotness: undefined, score: 5, children: 0
dsilverz 3 points 2 years ago
path: 0 11846761 11846908 11847397, hotness: undefined, score: 3, children: 1
SlopppyEngineer 4 points 2 years ago path: 0 11846761 11846908 11847397 11848311, hotness: undefined, score: 4, children: 0
lurch 22 points 2 years ago

No need to escape, if the table name for ; drop table ... -- doesn't fit 😉

guy tipping his head meme captioned "you can't get hacked, if they can't fit enough SQL in the password field"

path: 0 11841946, hotness: undefined, score: 22, children: 1
edgemaster72 6 points 2 years ago

path: 0 11841946 11844151, hotness: undefined, score: 6, children: 0
testfactor 21 points 2 years ago

Tell me about it. USAA has a password policy of "between 8 and 12 characters."

Like, that's not even secure under old understandings of secure. A max of 12 should be, like, an actual offense with sanctions attached if they get hacked at some point. Especially for a financial institution. Ridiculous.

Definitely used a one-off password for that one...

path: 0 11841628, hotness: undefined, score: 21, children: 7
silkroadtraveler 4 points 2 years ago

Wow that’s true, what a crock.

USAA strikes me as the most Wonder bread Texas Aw Shucks company that smiles to your face while outsourcing as much as possible (and stabbing you in the back in the process). Case in point. USAA only allows TOTP through Symantec’s proprietary app. I’m moving everything away from them except for auto insurance (which will likely go away at some point too as they’re not really that valuable for that anymore either).

path: 0 11841628 11841907, hotness: undefined, score: 4, children: 0
Zidane 2 points 2 years ago

I have to change my USAA password every few months because I forget about the 12 character restriction...

path: 0 11841628 11843947, hotness: undefined, score: 2, children: 1
x00z 1 point 2 years ago

12characters is 12 characters long

path: 0 11841628 11843947 11846398, hotness: undefined, score: 1, children: 0
wreckedcarzz 1 point 2 years ago

Huh? I have had a USAA account for many years and my current password is far beyond 12 characters. I use both the website and the app...

path: 0 11841628 11848994, hotness: undefined, score: 1, children: 3
testfactor 2 points 2 years ago

Weird. I had to make up a new one cause all my normal passwords were too long.

Several people on here have had the same issue it seems, and Google agrees thats their limit is 12.

Not sure how you got around it. Maybe you're using a USAA reseller or something? You sure that your password's more than 12 characters?

path: 0 11841628 11848994 11852080, hotness: undefined, score: 2, children: 2
wreckedcarzz 3 points 2 years ago

Nope, direct account with USAA. I wonder if the way the user/pass is entered into the field, that it doesn't trip the check for length? I don't manually copy/paste, and also use autofill for initial setup/changing credentials. I've seen it before on other websites but it usually truncates on the login auth and yells at me.

...

I just tried it, actually - sonofabitch. It (the change password flow) took the password via pw mgr, (apparently) truncated it, accepted it; this was a while ago but I remember the process. Just now, the login flow takes my username, password, truncates it (50+ chars, 13, or 12, doesn't matter), accepts it. 11 chars throws an 'incorrect login' message, so I don't have a borked account. At no point has it ever complained about password length. Jesus christ.

path: 0 11841628 11848994 11852080 11853409, hotness: undefined, score: 3, children: 1
testfactor 2 points 2 years ago

Absolutely beautiful. What a company, lol.

The real beauty of it is that I can't fathom the logic. Unless they're storing the passwords as plaintext, it's not like it can be a storage issue. The hashes will be a constant size. I guess it takes longer to hash bigger inputs, but like, that difference should be unnoticeable until thousands of characters.

Did the engineer who made it truly not fathom that people might have passwords longer than 12 characters? That's the kind of mid-90s logic that makes me genuinely worry that the passwords aren't hashed on the backend, or are just MD5'd or something...

Makes absolutely no sense at all.

path: 0 11841628 11848994 11852080 11853409 11859446, hotness: undefined, score: 2, children: 0
CafecitoHippo 19 points 2 years ago

My current employer has the dumbest restrictions for passwords to our core system. It is a large regional bank. Our core system must have a password that is either 7 or 8 characters long (nothing shorter or longer). It cannot have any vowels or special characters. It cannot have any capital letters. It cannot have two numbers in a row.

path: 0 11859730, hotness: undefined, score: 19, children: 7
davidagain 1 point 2 years ago

Ah yes, the password rules from 1980.

path: 0 11859730 11875486, hotness: undefined, score: 1, children: 0
www24 1 point 2 years ago
path: 0 11859730 11875444, hotness: undefined, score: 1, children: 4
CafecitoHippo 2 points 2 years ago

Whoops. Forgot a restriction, can't use repeating characters either so that one doesn't work either.

path: 0 11859730 11875444 11879924, hotness: undefined, score: 2, children: 3
Ensign_Crab 2 points 2 years ago

"p4s5w0rd"

path: 0 11859730 11875444 11879924 11896835, hotness: undefined, score: 2, children: 2
CafecitoHippo 1 point 2 years ago

Yeah but then you gotta change it every 30 days and it can't use any of your last 24 passwords so you can't even cycle through 10 numbers in one spot or even two spots. So you'd have to do like "p0s0w0rd" and then do "p1s0w0rd" and so forth.

path: 0 11859730 11875444 11879924 11896835 11919697, hotness: undefined, score: 1, children: 1
OrnateLuna 1 point 2 years ago

By any chance wanna share your approximate location, asking for a friend

path: 0 11859730 11875907, hotness: undefined, score: 1, children: 0
MTK 17 points 2 years ago

Fuck this! My bank has this, and not just that, the limit is 6 digits, that's right, only digits and only 6 of them.

My balance is harder to guess than my password (if you include cents)

Fuck!

path: 0 11858033, hotness: undefined, score: 17, children: 4
meliaesc 16 points 2 years ago

Use a different bank.

path: 0 11858033 11858117, hotness: undefined, score: 16, children: 3
Geth 2 points 2 years ago

All of them do this where I'm based. 4 to 6 digits is common.

path: 0 11858033 11858117 11858618, hotness: undefined, score: 2, children: 2
meliaesc 1 point 2 years ago

Online bank an option?

path: 0 11858033 11858117 11858618 11859426, hotness: undefined, score: 1, children: 1
Geth 2 points 2 years ago

I'm talking about online banks. Not even worth engaging with the others.

path: 0 11858033 11858117 11858618 11859426 11859742, hotness: undefined, score: 2, children: 0
Revan343 16 points 2 years ago

I used to have to use a government-run website that required passwords to be exactly 8 characters

path: 0 11852912, hotness: undefined, score: 16, children: 2
cordlesslamp 5 points 2 years ago

How about a bank app that requires 6 numbers password (not the app PIN, but the user account's password).

path: 0 11852912 11853120, hotness: undefined, score: 5, children: 0
dQw4w9WgXcQ 4 points 2 years ago

A lot of older systems I worked on had password requirement of exactly 7 characters, no special characters, no numbers and no upper case. Must have been interesting times in security when those systems were made.

path: 0 11852912 11854748, hotness: undefined, score: 4, children: 0
x0x7 15 points 2 years ago

How to properly set password requirements on your website. Accept any utf8 string. Have a nice day.

path: 0 11852466, hotness: undefined, score: 15, children: 7
tiredofsametab 0 points 2 years ago

It's all fun and games until someone realizes they can just create lots of accounts with large passwords and fill your space.

path: 0 11852466 11852521, hotness: undefined, score: 0, children: 6
JadedBlueEyes 23 points 2 years ago

Not a problem because passwords are hashed, which means they take up a fixed size, and you should have form upload size limits anyway.

path: 0 11852466 11852521 11852541, hotness: undefined, score: 23, children: 5
tiredofsametab 6 points 2 years ago

hashed, which means they take up a fixed size

One would hope so anyway,

you should have form upload size limits

The above conflicts directly with OP's Accept any utf8 string

path: 0 11852466 11852521 11852541 11852591, hotness: undefined, score: 6, children: 4
milicent_bystandr 5 points 2 years ago

I opened an account in 2014 and I'm still uploading my password.

path: 0 11852466 11852521 11852541 11852591 11852863, hotness: undefined, score: 5, children: 2
x0x7 3 points 2 years ago

Ok. Take up to 65,536 bytes of utf8 string. Or better yet. Accept any password length. I mean any. But instead of transmitting it you bcyrpt on their machine and then use the resulting key to hmac sign a recent timestamp that can't be reused.

path: 0 11852466 11852521 11852541 11852591 11858239, hotness: undefined, score: 3, children: 0
neidu2 14 points 2 years ago

Ran into this when I chose a password for my new work e-mail. As my employer is Chinese, error messages show up in mandarin, so it took me a while to understand what the problem was: Must be between 9 and 16 characters long.

path: 0 11841381, hotness: undefined, score: 14, children: 0
Ptsf 13 points 2 years ago

The answer is always a poorly coded database. :(

path: 0 11843968, hotness: undefined, score: 13, children: 6
herrvogel 17 points 2 years ago

What? The password should only receive the hashed password, and that's gonna have a fixed length. What's stored in the db should have the exact same length whether the password is 2 characters long or 300. If the length of the password is in any way a consideration for your database, you've royally fucked up long before you got to that point.

path: 0 11843968 11845494, hotness: undefined, score: 17, children: 5
x00z 9 points 2 years ago

"Your password may not contain any quotes or backslashes"

path: 0 11843968 11845494 11846184, hotness: undefined, score: 9, children: 0
ChickenLadyLovesLife 3 points 2 years ago

The answer is always a poorly coded everything.

path: 0 11843968 11845494 11852964, hotness: undefined, score: 3, children: 0
Sibbo 1 point 2 years ago

You are expecting a lot from someone who thinks a password needs a low maximum length. It makes sense to limit password length to avoid dos attacks, but certainly to something longer than 16.

path: 0 11843968 11845494 11846902, hotness: undefined, score: 1, children: 0
Ptsf 1 point 2 years ago

There are going to be very few hashing algorithms that can take a certain byte value and hash it down into a unique smaller byte value. If you miscoded the database and stored the hashed passwords into a value of a fixed length, you have to abide by that length without some trickery or cleaveriness. Is that not the case? Every time I've seen this limitation in wild code that has been the case.

path: 0 11843968 11845494 11861036, hotness: undefined, score: 1, children: 1
herrvogel 1 point 2 years ago

That's true. But fortunately even the most basic hashing algorithms are more than enough to make worrying about these things pointless when it comes to passwords. You have to poorly implement everything by hand and make a series of bad calls to run into any issues.

path: 0 11843968 11845494 11861036 11864156, hotness: undefined, score: 1, children: 0
joeldebruijn 13 points 2 years ago

This one time I got this catch22 situation with a service.. Turned out password reset in the Android app accepted 32 characters but in the browser less.

path: 0 11842837, hotness: undefined, score: 13, children: 1
Fish 6 points 2 years ago

Happened to me a couple days ago when resetting a password for Paypal. The browser limit was 20 characters for the 2nd password box but had a higher limit for the first password box.

Though, it appears they recently modified the form to pop up with an "Enter a shorter password" message. With that being said, PayPal has apparently always had shitty password policies.

path: 0 11842837 11845087, hotness: undefined, score: 6, children: 0
BradleyUffner 12 points 2 years ago

My favorite was "Your password must begin with a letter"

path: 0 11860498, hotness: undefined, score: 12, children: 2
Sibbo 18 points 2 years ago

"Otherwise our database may misinterpret it as a number when we store it in pain text"

path: 0 11860498 11865162, hotness: undefined, score: 18, children: 1
haui_lemmy 19 points 2 years ago

pain text

Accidentally accurate

path: 0 11860498 11865162 11867880, hotness: undefined, score: 19, children: 0
cron 11 points 2 years ago

Here is a screenshot from the page where my meme came from. But it it not the only company out there with ridiculous password policies.

path: 0 11841363, hotness: undefined, score: 11, children: 0
boredsquirrel 4 points 2 years ago

Paypal has (had?) absurdly short limits

path: 0 11841675, hotness: undefined, score: 4, children: 2
wreckedcarzz 2 points 2 years ago

Has. 20 char max.

path: 0 11841675 11849108, hotness: undefined, score: 2, children: 0
BlueKey 2 points 2 years ago

And (at least at the time of my account creation) don't even tell you about it. I found out by the errormessage in the networklog of the REST requests why my signup failed repeately.

path: 0 11841675 11903539, hotness: undefined, score: 2, children: 0
davidagain 3 points 2 years ago

Drives me nuts when this happens.

path: 0 11875480, hotness: undefined, score: 3, children: 0
Ensign_Crab 1 point 2 years ago

Dammit, I just spent 5 minutes rolling dice and flipping through a binder. One of us takes this shit seriously.

path: 0 11896846, hotness: undefined, score: 1, children: 0
cybersecuritymemes
cybersecuritymemes

@lemmy.world

login for more options
4419
119
595

Only the hottest memes in Cybersecurity

go to feed...