News for hackers. Stuff that matters.
Re:I hate password rules by robotears on Tuesday November 16, 2021 @11:32AM (#29242502)
My frustration isn't just the sites that make the password rules clear after I submit the form. The worst sites are the ones that truncate my generated password to fit their maximum password length and then don't tell me (which seems to happen in more places than it should).
Re:I hate password rules by reaperducer on Tuesday November 16, 2021 @11:59AM (#29242972)
The worst sites are the ones that truncate my generated password to fit their maximum password length and then don't tell me

Or worse, they truncate your password after you've already used it for years and years.

I had a 30-character password with Bank of America. Somewhere along the line, it changed its password requirements to only allow a maximum of 20 or 25 characters (I forget), which automatically invalidated my password.

The password was stored in my password manager, so I knew I wasn't entering it wrong.

BoA support said I should use the "change password" feature to update my password, but I couldn't because it requires me to enter the old password, which it would not accept. For some reason I can't remember, I couldn't use the "forgot password" feature. Maybe it also didn't work right.

I spent an entire day on the phone getting bounced from person to person before finally someone was able to take a new password over the phone.

Since Bank of America can't figure out how to build a web site login, I no longer trust it with my money. I emptied that savings account and paid off the credit card as quickly as I could. I no longer use BoA.

Re:I hate password rules by nzach on Tuesday November 16, 2021 @12:27PM (#29243408)
>Or worse, they truncate your password after you've already used it for years and years.

Worse than that must be the sudden realization that your bank probably saves your password in plain text somewhere.

Re:I hate password rules by iso1631 on Tuesday November 16, 2021 @03:12PM (#29245810)
As it's a bank that's probably the case, but you could have a change on the server side from

  hash($password) == $storedhash
to

  hash(substr($password,0,20)) == $storedhash
And you wouldn't get in, with any password (including just putting in the first 20 characters)
Re:I hate password rules by bananasbandanas on Tuesday November 16, 2021 @04:49PM (#29246765)
More likely they just updated the password during a successful login.
Re:I hate password rules by fossuser on Tuesday November 16, 2021 @12:34PM (#29243522)
I'm not sure why anyone uses banks like BoA, Wells Fargo, First Niagara, etc.

Fidelity is a superior experience in nearly every way - just categorically. I'm not sure if people just don't know that you can use Fidelity this way?

The only downsides are no local branches, but that's hardly an issue unless you need a cashiers check. In those rare cases you can spin up an account at shitty bank, get the check, then close the account. I've had to do that maybe once ever.

Re:I hate password rules by ysavir on Tuesday November 16, 2021 @03:30PM (#29245994)
In what way? I'd be curious to understand what it is you value about them, but your post reads more like marketing than a satisfied customer story.
Re:I hate password rules by fossuser on Tuesday November 16, 2021 @03:47PM (#29246172)
No fees, also a brokerage, free checks, free atm, free wires, can trivially spin up IRA, move money between accounts, etc.

Phone call support has been surprisingly good whenever I’ve needed it.

When I used standard banks they often forced me to go in at difficult hours to do basic things and it took forever. They also had lots of fees (and as suggested in the parent comment, bad software)

Re:I hate password rules by pwillia7 on Tuesday November 16, 2021 @07:25PM (#29248033)
I fully agree. The difference is the value exchange. At a normal bank they just want to charge you fees because you cost them money. Fidelity lets you keep your money with them in the hopes that as you grow your money, you'll spend it on their investment products, which I imagine everybody does.

Most brokers have some kind of cash account and they're always better than banks and almost always better than credit unions.

I recommend keeping a credit union account open too so you have a local branch if you need something in person.

Re:I hate password rules by reaperducer on Tuesday November 16, 2021 @01:29PM (#29244492)
You state that you don't understand why people use large, complex banks. Then state that you have a very simple, financially uninteresting life.

You answered your own question.

Re:I hate password rules by fossuser on Tuesday November 16, 2021 @01:32PM (#29244542)
I have a pretty complex financial situation, but Fidelity can just do all of it more easily than retail banks.

Is there something banks like BoA do better that I'm missing? When I've asked people I know this I haven't gotten any good answers. I'm genuinely asking.

My impression is that BoA, Wells Fargo, etc. mostly take advantage of customers that don't know better options exist.

Re:I hate password rules by reaperducer on Tuesday November 16, 2021 @03:22PM (#29245911)
Your impression may come from the fact that many people don't talk openly about their finances to random people on the internet.

For me, Fidelity is a non-starter, for reasons that are none of your business.

It's nice that you like Fidelity. But it's a good idea to recognize that your finances and life situation are unique to you.

Re:I hate password rules by fossuser on Tuesday November 16, 2021 @03:50PM (#29246197)
Cool - so a non-answer and condescending dismissal of genuine questions.

Lots of people talk about finances online. See r/personalfinance or r/financialindependence. It’s a good way to learn.

Re:I hate password rules by reaperducer on Tuesday November 16, 2021 @04:00PM (#29246290)
I am not "lots of people." I have no interest in being "lots of people," or in proving myself to strangers on the internet.

I cannot convey 50 years of my financial life, experience, and history into what fits in an internet post. Anyone who can probably has a very narrow view of finance. I can say that I know how to manage my finances, and my accountant agrees with my methods and track record.

But if you think Reddit is the route to financial literacy, I can understand why you don't understand.

Re:I hate password rules by recursive on Tuesday November 16, 2021 @05:37PM (#29247170)
I don't necessarily think Reddit is a good route to financial literacy. Nor do I know of a better route. Despite (or because?) of all that, I still think the question was reasonable. If you don't want to answer the question, that's fine. But you don't have to be so antagonistic about it.
Re:I hate password rules by vangelis on Tuesday November 16, 2021 @04:15PM (#29246441)
That response is awfully unconstructive and dismissive. Perhaps you're able to articulate why you believe Reddit, specifically r/personalfinance and other reasonable boards, are bad, no?
Re:I hate password rules by pbhjpbhj on Tuesday November 16, 2021 @12:10PM (#29243141)
So, for a bank the maximum is to allow NSA to crack it if they wish, right?
Re:I hate password rules by reaperducer on Tuesday November 16, 2021 @12:19PM (#29243281)
They kept insisting that a 20-character password is safer than one with 30 characters. I couldn't get them to understand otherwise.
Re:I hate password rules by genewitch on Wednesday November 17, 2021 @11:48AM (#29255431)
On nsa.gov for a long time the max password length was 12 characters. Last checked in 2016.
Re:I hate password rules by throwawayboise on Tuesday November 16, 2021 @12:05PM (#29243079)
Supermicro BMC passwords do that. Recently (i.e. this year) I set up a bunch of servers and was setting the BMC password to a known value.

Apparently there is a limit of 20 characters for the password. The password I set was 21 characters (which was accepted without error).

When I tried to log in with this password, the login was rejected.

However if I log in with just the first 20 characters of the password, it works.

Re:I hate password rules by sleavey on Tuesday November 16, 2021 @03:04PM (#29245715)
They should at least make their sign-up and login password fields have the same max length attributes...
Re:I hate password rules by zamadatix on Tuesday November 16, 2021 @04:11PM (#29246402)
It's even worse than that the BMC is a preconfigured part of the server not something you go to a sign up page for. It's literally the _change password functionality_ that does not warn/error on the password being too long!
Re:I hate password rules by throwawayboise on Tuesday November 16, 2021 @06:28PM (#29247582)
I had seen the same thing on a (much older) switch, which is the only reason I thought to try truncating my password. Worked after dropping only one character, I was sort of expecting it to be 16 or maybe even 8.
Re:I hate password rules by nulbyte on Tuesday November 16, 2021 @09:37PM (#29248786)
> However if I log in with just the first 20 characters of the password, it works.

Even worse is when the password change form accepts more characters and processes them correctly, only to have the login form not allow you to enter all characters. If I'm not mistaken, the business remote deposit portal my bank uses does this.

Re:I hate password rules by justusw on Wednesday November 17, 2021 @12:06AM (#29249474)
Could that mean that the password is stored unhashed?
Re:I hate password rules by johnisgood on Thursday November 18, 2021 @04:59AM (#29263842)
Since the number of characters is the same in the case of hashes, yes, the password is saved as-is.
Re:I hate password rules by memco on Tuesday November 16, 2021 @12:33PM (#29243511)
I've also had fun experiences where the "special characters" differ in the description than in the implementation in a few ways.

Once I had a password accepted with non-alpha numeric characters which were considered invalid as input on the login screen and so even though my password was correct it would not let me log in because it was validated with different logic after creation.

Another issue I've seen is that the password was required to have only a certain subset of non-alphanumeric characters, but it did not explain or validate this client side so I had a password for which all the boxes turned green, but was still invalid.

In both cases only trial and error worked to find a valid password.

Re:I hate password rules by Causality1 on Tuesday November 16, 2021 @01:09PM (#29244127)
I spent half a year being charged monthly by Microsoft because Google considers my email address the same whether or not it has a period in it but Microsoft had somehow split my account into two based on that difference.
Re:I hate password rules by stormbrew on Tuesday November 16, 2021 @03:35PM (#29246046)
that's.. really on you I think, and not at all similar to one site having differing validation rules in different places for the same data. What gmail does there isn't some kind of standard, it's a unique special feature google does. You don't want other sites getting clever about this sort of thing, because if the rules change much worse things will happen.

Now, sites that treat email addresses as case sensitive - those are evil.

Re:I hate password rules by NackerHughes on Tuesday November 16, 2021 @02:02PM (#29244924)
I'm missing something, why would they charge you monthly for that?
Re:I hate password rules by Causality1 on Tuesday November 16, 2021 @08:17PM (#29248359)
Xbox Live Gold. I'd call, give them my account details, and the rep would tell me it was canceled. Three months later, another bill. Called my bank and had my card replaced, three months later somehow again another bill on my new card. After that I figured out what was going on and managed to cancel the account. I was a teenager at the time.
Re:I hate password rules by hansvm on Tuesday November 16, 2021 @02:40PM (#29245419)
Extra user fee on some kind of SAAS?
Re:I hate password rules by NathanielK on Tuesday November 16, 2021 @03:32PM (#29246018)
For a while, Discord had few password restrictions so 5 characters were fine. Then they changed their app to only allow 6+ character passwords.
Re:I hate password rules by thamer on Tuesday November 16, 2021 @04:53PM (#29246793)
Worse: I once set my E*Trade password to something it accepted but wouldn't recognize when I tried to log in… because it was too long.

After changing it I got locked out of my account and had to call support to resolve the issue. The worst part was that after verifying my identity over the phone they kept sending me reset links and I kept using long passwords generated by 1Password (30 characters IIRC) and it always accepted them when resetting but still would never let me log in.

It took many attempts and new reset links until they suggested trying a shorter password, which was eventually accepted both during reset AND login. Of course the reset page didn't mention a maximum length.

Re:I hate password rules by zhynn on Tuesday November 16, 2021 @07:05PM (#29247896)
It gets worse: if you use 2fa the security code generated by the symantec thing is just appended to the password, so if your password is still a valid length, but then the 2fa takes it over 30 chars, it fails. It is the worst.
Re:I hate password rules by jbarberu on Tuesday November 16, 2021 @11:56AM (#29242917)
And then their sign-in page doesn't truncate it and it just fails to login... Absolutely love it!

One of my favorites was Nintendo's user account. The web allows decent passwords when created, but then the actual game console only has room for inputting 15 characters or so for the password :@

Re:I hate password rules by kevincox on Tuesday November 16, 2021 @12:14PM (#29243205)
I've even seen it backwards (I assume) where creating the account with the longer password worked but then I couldn't sign in with it or any prefix of it.
Re:I hate password rules by davchana on Tuesday November 16, 2021 @12:48PM (#29243724)
Exactly. Indian Retirement Fund, PF, National Pension System, has a rule of max 16 chara in password. They don't tell this at password reset or set. They simply accept anything 16+ length; & silently truncate & use the first 16 chars. But user is never told. When I try to login later, it says password wrong. I had to reset it multiple times, because my password manager was generating longer ones.
Re:I hate password rules by Zircom on Tuesday November 16, 2021 @12:41PM (#29243618)
Yeah you'd be surprised where it happens. I used to work on the help desk for a company that operated nuclear power plants, and their password system would only accept 8 character passwords, alphanumeric only. However, the length checking would randomly fail and users would be able to set a longer password and the system would silently truncate it without throwing an error or alerting the user in any way.
Re:I hate password rules by EmilioMartinez on Wednesday November 17, 2021 @01:10PM (#29256597)
My favorite one was a site that capped the password length in the creation form in a way you couldn't tell it was being truncated, but then let you enter any length when you logged in. And being a finance thing, it blocked your password after three attempts.
Re:I hate password rules by randomluck040 on Tuesday November 16, 2021 @11:46AM (#29242739)
Wait, what? That never happened to me. How do you go and find out your password then? Trial and error?
Re:I hate password rules by phepranto on Tuesday November 16, 2021 @11:50AM (#29242807)
They might just truncate the password during login as well. I was able to login to my online banking using only the first five digits of my password not more than 3 years ago.. They fixed it in the meantime but I'm still worried.
Re:I hate password rules by robocat on Tuesday November 16, 2021 @02:23PM (#29245216)
You should still be worried, since any bank storing an unhashed password clearly has security fail.
Re:I hate password rules by mooreds on Tuesday November 16, 2021 @11:57AM (#29242926)
> Trial and error?

Bingo. Super frustrating.

See also this comment: https://news.ycombinator.com/item?id=24827031

Re:I hate password rules by Macha on Tuesday November 16, 2021 @12:01PM (#29243012)
I once had a bank that used substr(tolower(input_password), 0, 8) as the actual password.
Re:I hate password rules by bell-cot on Tuesday November 16, 2021 @12:18PM (#29243272)
Heh. Late 1990's, I was an admin on a >1,000 user system - which was rooted because it had that feature, and another admin figured that 'meatball2&balloons' was a secure-enough password.
Re:I hate password rules by Maultasche on Tuesday November 16, 2021 @11:53AM (#29242861)
That happened to me many years ago with Microsoft logins. They were truncating passwords to 12 characters and my generated 16-character passwords never worked. I kept resetting them over and over until I did a Google search for Microsoft password requirements and found out that they were being truncated.

That was likely fixed a long time ago, but I'm still wary of increasing my Microsoft passwords past 12 characters.

Re:I hate password rules by GoblinSlayer on Tuesday November 16, 2021 @03:44PM (#29246138)
FWIW I use 30 character password with recently created skype account, and relogins work.
Re:I hate password rules by ylere on Tuesday November 16, 2021 @11:50AM (#29242796)
I had it happen a few times. Usually I would reset it a few times until realizing that it's obviously not saving the password I'm entering, at which point I would try a setting a shorter one.
Re:I hate password rules by teawrecks on Tuesday November 16, 2021 @03:04PM (#29245728)
T-Mobile did this to me a few years ago. Don't know if they still do, but I couldn't believe anyone thought that was ok.
Re:I hate password rules by dataflow on Tuesday November 16, 2021 @12:20PM (#29243296)
Can I ask what length your passwords are (roughly)? I don't understand the motivation for anything long in the context of randomly generated passwords for websites. 8-10 characters should be plenty.

(This isn't to excuse silent truncation.)

Re:I hate password rules by loa_in_ on Tuesday November 16, 2021 @12:29PM (#29243436)
My passwords are long because I don't actually use a password manager. I generate my passwords with a help of my algorithm that makes them easier to type in wherever I might need them (resemble real words) like in a terminal.
Re:I hate password rules by SAI_Peregrinus on Tuesday November 16, 2021 @04:03PM (#29246321)
All my passwords are passphrases, randomly generated and stored in my password manager. Usually 10 words, for about 130 bits of entropy. EG PledgeRoutineSuitableBunkhouseExceptionCremeReassureChildishPhrasingNuclear, which is 76 ASCII characters but only 10 symbols.

They're stored in a password manager, but they're typeable if needed. My "security question" answers (mother's maiden name, etc) are generated the same way, unique per use, and also stored in my password manager.

Most sites don't need 128 bits of entropy. But things like banking or subscriptions should have at least 112 bits of entropy. And it's easy to just set the generator to 10 words by default.

Re:I hate password rules by Larrikin on Tuesday November 16, 2021 @12:36PM (#29243542)
Outside of things that need to be extremely secure like my AWS account password I usually prefer readable random words passwords over random text. Even random 2 word passwords usually surpass 20 characters especially after adding in numbers and special characters most sites require.

It's a lot nicer being able to check if I typed in my Peacock login at my parents home at a glance versus a string of random characters.

Re:I hate password rules by gregmac on Tuesday November 16, 2021 @04:22PM (#29246508)
I usually generate passwords in the ~32 character range, using A-Za-z0-9, specifically to catch sites with dumb security policies (maximum number of characters, or considering `aceg1234!` a stronger password than `MgHm7MC8kEuXWKEzD7CvDgxCtWssz964`).

In most cases I just comply with their dumb policy and put a snarky comment for my future self in the Notes field of my password manager and it makes me feel better.

Re:I hate password rules by NoGravitas on Tuesday November 16, 2021 @02:00PM (#29244909)
"correct horse battery staple" is 28 characters. And it really should be two words longer than that these days.
Re:I hate password rules by hannasanarion on Tuesday November 16, 2021 @04:34PM (#29246605)
20 characters is fine. Even using only lowercase letters, in a worst-case scenario it'll take millions of years to guess by choosing characters, and a dictionary attack won't fare any better if you use four words that are moderately rare. Even if they're only in the top 1000, four words means the search space is 1 trillion guesses. Increase the search space to 10,000, by including such obscure words as "villager" and "conserve" and "missionary" (9950, 9973, and 9991, respectively) the search space increases to the quadrillions, equivalent of a 12-character random password with symbols, 53 bits.

Is correct-horse-battery-staple guaranteed secure to the heat death of the universe? No, but good enough that it'll take a targeted attack several months to guess.

Re:I hate password rules by iso1631 on Tuesday November 16, 2021 @03:17PM (#29245855)
If you're using a random password, c29b90b0e25ece3f2dabcef496d22103 is fine for a password, 2^128 bits. It's a right pain to type in on a console though.

On the other hand, "rundown skyline pluck shawl pastrami radar refueling poach prankster durable" is far easier to type and is about the same entropy

Re:I hate password rules by hannasanarion on Tuesday November 16, 2021 @04:18PM (#29246472)
The entropy is far greater than 2^128. Pastrami, refueling, and shawl don't appear in the top 30,000 English words list, so even knowing your password generation strategy, every word adds at least 15 bits of entropy, you're up to 150 bits, probably more.
Re:I hate password rules by iso1631 on Wednesday November 17, 2021 @08:47AM (#29252884)
My word list contains 7227 words apparently, so 12.82 bits per word

https://github.com/redacted/XKCD-password-generator

Not sure how many bits a "good" password should be nowadays.

Re:I hate password rules by smoe on Tuesday November 16, 2021 @06:29PM (#29247587)
I use a password manager and randomly generated ones for most everything, but I use diceware pass phrases I memorized for specific cases so that in an emergency, e.g. when traveling I can get access to some things even without any of my devices.
Re:I hate password rules by loa_in_ on Tuesday November 16, 2021 @12:26PM (#29243398)
My passwords are all 20+ characters long
Re:I hate password rules by dataflow on Tuesday November 16, 2021 @12:31PM (#29243475)
For websites, you're just making your own life harder for no real gain. Even with purely alphanumeric 10 chars, it's not like anyone can exhaust the 36^10 password space over a network with no one noticing. Yet whenever you run into issues with the website or the password manager (or some other non-routine thing... like you're on your phone and need to enter this on a different computer) and have to enter it manually, it'll be much more painful than it has to be.
Re:I hate password rules by singlow on Tuesday November 16, 2021 @12:58PM (#29243911)
I guess you assume that everyone protects their stored hashes.
Re:I hate password rules by dataflow on Tuesday November 16, 2021 @03:34PM (#29246038)
Not really. Even if you're worried about that, (36 alphanumeric + 10 symbols)^10 is roughly 4E16. Even at 2B checks/second/CPU (which is incredibly generous if the web developer has any competence) that's around 10M CPU-seconds, i.e. 115 CPU-days. For cracking one single password. An ASIC will speed it up, but again, remember this is one single password, and it can be an overestimate by like a factor of > 1 million if the developer actually used a KDF (and I'm not sure why they wouldn't, if they're already hashing). How paranoid do you have to be (and how big of a target do you have to have made of yourself? and exactly how valuable are your credentials?) to worry about a threat like this for most websites? Maybe it makes sense for your primary email, but do average accounts really benefit? Compared to the inconvenience of when something goes wrong and you have to type a long password manually.
Re:I hate password rules by GoblinSlayer on Tuesday November 16, 2021 @03:58PM (#29246266)
If you don't let users use their preferred password structure, they'll have to use a shitty password like hunter2, letmein or dragon. Those can be recovered with a few attempts, even online. If you really want a 10 character password, you can hash the user's password, then imagine the first 10 bytes of the hash are the user's password, then do whatever you want with them.
Re:I hate password rules by singlow on Wednesday November 17, 2021 @12:14AM (#29249505)
How does one more iteration help? Your hash algorithm is already hashing multiple times. Seems it would be easier to increase the work input to PBKDF2 by 1 than to implement your own multi-hash. Even better increment it by 2000.

But the point is that you don't control the website's hashing algorithm, or whether they hash at all, or whether they store their hashes in a public s3 bucket. They may tell you what they do, they may not. But you have to trust them either way.

A long random password using a variety of characters is the only control I have when setting my password. If they have a good hashing system and protect their hashes, my long random password will not hurt anything. If they truncate my password before hashing, it will still be the best password I can make for that app.

If I use 5 5 letter words as my password and they truncate after the first 10, how would I know? My password might be "horseapple" instead of "horseapplehappygreennymph".

If I give them 10 alphanumerics and they leak their md5 hashes, I'm pwned in a few days, assuming they even salt it.

If I give them 20 random alphanumeric+symbol then I can't imagine what exotic thing they could do wrong to make it less safe than any other password I choose.

I might make an exception for some streaming service that I have to enter by hand on a tv remote control, but otherwise i am going to generate it with max entropy because I am never going to look at it anyway.

Re:I hate password rules by jsmith99 on Wednesday November 17, 2021 @05:33AM (#29251235)
So long as passwords are unique, offline cracking isn't an issue. If they have that site's hashes presumably the site is compromised already.
Re:I hate password rules by singlow on Wednesday November 17, 2021 @12:16PM (#29255821)
Not true. Offline hacking is not only a concern for passwords used on multiple sites.

There are many scenarios where an attacker might be able to grab the hashes, but still need to crack them in order to get access to other data from your account. If there is a sql injection vulnerability in the authentication service, for example, it does not mean they can necessarily overwrite the hash or access data in other parts of the application.

I once found a bug in a payment processor that let me download the user record including password hash for all users in that payment processor. But I couldn't use that to get their stored credit card numbers directly. However, if I had brute forced those hashes, I would have been able to log in as them and access their other account data and make transfers, etc. I am sure a large majority of those password would have been very easy to crack. If I was an attacker, those would have been my first targets.

Re:I hate password rules by teawrecks on Tuesday November 16, 2021 @03:03PM (#29245703)
It's trivial to choose a smaller pw for sites that are difficult, but for the ones where I'm only ever using a pw manager to access, there's no reason not to use a 20 char unique random string.
Re:I hate password rules by BenjiWiebe on Tuesday November 16, 2021 @01:36PM (#29244607)
For me I have long 20+ character passwords because my password manager remembers them for me, and I can copy/paste or autotype or copy them into the in-browser password manager.

I very rarely have to manually type in a password.

Re:I hate password rules by GoblinSlayer on Tuesday November 16, 2021 @01:30PM (#29244505)
Websites are not the only system that can enjoy a password, and there's no excuse for their egocentrism.
Re:I hate password rules by hnlmorg on Tuesday November 16, 2021 @12:40PM (#29243607)
EE does this on their website but not on their mobile app. Took me ages of debugging to figure out why my password manager worked on one platform but not the other. I was so annoyed when I realised what it was.
Re:I hate password rules by jer0me on Tuesday November 16, 2021 @09:04PM (#29248615)
I'm not super knowledgeable about these kinds of things, but aren't hashes usually a fixed length? Why would it matter how long your password is?
Re:I hate password rules by Pxtl on Tuesday November 16, 2021 @05:39PM (#29247203)
If they truncate on password set but don't truncate on password validation, that's the worst.
Re:I hate password rules by teawrecks on Tuesday November 16, 2021 @02:59PM (#29245664)
This has happened to me on one site. As far as I'm concerned, this is just a bug.