News for hackers. Stuff that matters.
Re:NULL license plate not such a bright idea by cgriswald on Monday August 12, 2019 @02:59PM (#20678690)
Many, many websites will happily accept passwords of $X characters and then hash only $(X-Y) characters on registration, but try to hash all $X characters on login, so of course the hashes don’t match. And at no point do they tell you the maximum number of characters.
Re:NULL license plate not such a bright idea by ben-schaaf on Monday August 12, 2019 @07:16PM (#20681144)
I once had a page that prevented pasting, but last pass's password generator still worked. So I put in a long password using that, but when I clicked to register it came up with a blank error message. Turns out they had a 16 character limit that was only enforced when you typed in the box, so I had to count the number of letters they allowed me to type and then let lastpass generate a password of that length. Infuriating.
Re:NULL license plate not such a bright idea by glenneroo on Monday August 12, 2019 @07:45PM (#20681350)
This has happened to me on many occasions, even with bigger sites which "should know better". Tis why I'm always slightly paranoid about entering in long passwords when signing up to new sites.
Re:NULL license plate not such a bright idea by inopinatus on Tuesday August 13, 2019 @01:43AM (#20683092)
Square Enix's account management on the PS4 allowed me to set a password with a space on the end, but their website strips spaces from the password field when you sign in.

Fun fact: it's actually really easy to submit a string with a space on the end when entered via a PS4 controller.

Re:NULL license plate not such a bright idea by Faark on Tuesday August 13, 2019 @06:15AM (#20684228)
Trimming spaces is the one evil that is kind of necessary. Way to many text selection tools select trailing spaces. Firefox and Chrome both do when selecting words. Got a mail with a reset password and want to copy it over? Yeah, good chance the space is copied as well. On a few occasions even ended up in my password manager. Please, just apply password rules everywhere consistently.
Re:NULL license plate not such a bright idea by cgriswald on Tuesday August 13, 2019 @10:48AM (#20686352)
> Please, just apply password rules everywhere consistently.

This would honestly fix all of it, without even needing to communicate information about how passwords are handled. Although, I think those rules should be communicated as well, so users can make good choices about password security. If spaces are removed, that lowers entropy and users may want to add additional characters or restrict spaces in their password generator.

It may not be easy. You might have dozens of different client applications with different requirements or abilities. But it is simple: Figure out your best practices and your lowest common denominator. Then apply those rules to every password every time in every context.

Alternatively, if you have clients which (for whatever reason) need a special case, create a separate hash for that special case and then use that only for that client. (Likely, this will reduce the overall security of the account, but if this is your lowest common denominator, allowing other clients to have greater security certainly doesn't hurt you.)

Re:NULL license plate not such a bright idea by MiddleEndian on Tuesday August 13, 2019 @07:19PM (#20691227)
On a semi-related note I once had to help a coworker who couldn't log into a server using an auto-generated password listed like so:

The password is p4ssw()rd.

Turns out they didn't realize the period was part of the password.

Re:NULL license plate not such a bright idea by Breza on Friday August 16, 2019 @09:13AM (#20714794)
Back in the day, I created an AOL password with CTRL-BACKSPACE in it. It worked when using the AOL software but when I tried to log into the website, it deleted the password.
Re:NULL license plate not such a bright idea by dajonker on Monday August 12, 2019 @03:26PM (#20678970)
Yes, this is terribly annoying, often there is a minimum length but no mention of maximum length. I see this on many, many websites...
Re:NULL license plate not such a bright idea by luc4sdreyer on Monday August 12, 2019 @05:02PM (#20679983)
What kind of range limits are you talking about? 30? 100?
Re:NULL license plate not such a bright idea by rypskar on Tuesday August 13, 2019 @08:26AM (#20685087)
Lots of sites have a limit of 72 characters, maybe even without the developers knowing about it. Bcrypt has a limit of 72
Re:NULL license plate not such a bright idea by cgriswald on Tuesday August 13, 2019 @10:56AM (#20686430)
It's honestly a crapshoot. I've seen as low as 8 (a sibling poster says 6), but 10, 12, 15, 16, and 20 are not unusual. It's usually an even number, so you can just knock 2 characters off your password at a time (after making it an even number) until you're down to the maximum to figure it out.
Re:NULL license plate not such a bright idea by jtc331 on Monday August 12, 2019 @05:09PM (#20680032)
Wells Fargo’s is 12 IIRC.
Re:NULL license plate not such a bright idea by marktangotango on Monday August 12, 2019 @05:45PM (#20680375)
Lots and lots of legacy systems do this, very low limit, case insensitive, numbers and letters only. I know of a major retailer with 10 character, case insensitive, alpha numeric for All their systems. Why? Because that’s the lowest common denominator (as400).
Re:NULL license plate not such a bright idea by efreak on Tuesday August 13, 2019 @06:26AM (#20684287)
That's how my dentist's billing website works. Except it's limited to 8 alphanumeric characters, not 10, and they were quite happy to accept my pasting a 16-character generated password into the field. Unfortunately, they don't have a password reset link; instead, the you call the receptionist and they read out your password to you over the phone. This isn't a legacy system, either. I can only imagine the backend is written in QBasic or something.
Re:NULL license plate not such a bright idea by taftster on Monday August 12, 2019 @06:53PM (#20680955)
I have a 14 character WFC password, seemingly works fine.
Re:NULL license plate not such a bright idea by MertsA on Tuesday August 13, 2019 @03:16AM (#20683505)
Try changing the last two characters and see if it still lets you in. It's not that uncommon that people mix up when to filter input and when to validate it.
Re:NULL license plate not such a bright idea by taftster on Wednesday August 14, 2019 @12:13AM (#20692666)
Tried and failed (to login). Looks like they are at least validating my entire password.
Re:NULL license plate not such a bright idea by dgellow on Monday August 12, 2019 @05:17PM (#20680102)
I believe that Blizzard had a limit of ~20 until recently for battle.net accounts (don't know if that's still the case).
Re:NULL license plate not such a bright idea by Tecuane on Monday August 12, 2019 @10:54PM (#20682383)
Passwords for Blizzard accounts are also case-insensitive, as they are converted to upper case before hashing. Try it!

I first found this while working on a WoW server emulator in around 2009, but I believe it's been the case since Battle.net 1.0 was launched in 1996. In order to preserve backwards compatibility, it's never been changed.

Re:NULL license plate not such a bright idea by Dextro on Tuesday August 13, 2019 @04:36AM (#20683813)
I remember that Microsoft got stuck with a 16 character limit for a while thanks to hotmail.
Re:NULL license plate not such a bright idea by deadbunny on Tuesday August 13, 2019 @09:23AM (#20685536)
Re:NULL license plate not such a bright idea by emerongi on Monday August 12, 2019 @06:14PM (#20680629)
Often it's 20. Not sure why 20 is so common.
Re:NULL license plate not such a bright idea by michaelmior on Monday August 12, 2019 @10:03PM (#20682150)
Someone somewhere probably posted a code sample with a 20 character limit...
Re:NULL license plate not such a bright idea by daemin on Tuesday August 13, 2019 @06:26AM (#20684293)
I've seen 6 characters and 16.
Re:NULL license plate not such a bright idea by lutoma on Monday August 12, 2019 @09:55PM (#20682116)
Had this issue with Google a few years ago when I tried to set my password to something ludicrously long (think 5000+ characters). It would happily change my password, but I couldn't log in to anything afterwards…
Re:NULL license plate not such a bright idea by bsimpson on Tuesday August 13, 2019 @12:13AM (#20682775)
For many years, Schwab ignored any characters after 8 in its password. Discovered that when I knew I flubbed one of the last characters, and it still worked.

I still can't believe a major bank got away with that for so long, apparently unharmed.

Re:NULL license plate not such a bright idea by Breza on Friday August 16, 2019 @09:10AM (#20714783)
I learned this the hard way when I started using a password manager. I had the bright idea to start using 90 character passwords for all my accounts and suddenly I couldn't log into a lot of accounts.