Live data from Hacker News

Gmail password first character is case insensitive on mobile device

support.google.com

31–40 of 278 posts

Re: Gmail password first character is case insensitive on mobile device

#31
post #20

Earlier quoted context omitted.

It would be more complicated to do this once you stored millions of passwords. So now you have to create 2 flows, those before the new policy and those that were set after the normalization.

If your storing millions of passwords surely a version field and an if statement is not going to be a huge concern

It is definitely more complicated than changing the case and running the hash again

Re: Gmail password first character is case insensitive on mobile device

#32
post #24

Earlier quoted context omitted.

It was possible to login with the reverse of your password (as in password.split().reverse().join('')).

What was the reasoning? Unlike case or typos, you wouldn't accidentally type a password backwards.

This is in no way an educated guess, but it could be something about dealing with right-to-left language support?

Re: Gmail password first character is case insensitive on mobile device

#33
This has been like this for at least a couple years now. Struck me as bit odd in the beginning but it doesn't really improve the chances of brute forcing too much (which is hard on Google login anyways). And potentially saves so much time and server resources

Re: Gmail password first character is case insensitive on mobile device

#34

This has been like this for at least a couple years now. Struck me as bit odd in the beginning but it doesn't really improve the chances of brute forcing too much (which is hard on Google login anyways). And potentially saves so much time and server resources

Why do you suggest it saves time and server resources? Because people are likely to miscaptialize the first character of their password?

Re: Gmail password first character is case insensitive on mobile device

#35
I just want a phone number input box that will strip dashes for me.

Many go to the effort of having an error message pop up that says "no dashes or parentheses allowed." So they went to the effort of writing special case code to notice and handle this ... by giving instructions to the person, instead of the computer.

Re: Gmail password first character is case insensitive on mobile device

#36
post #5

Earlier quoted context omitted.

They probably just do two password checks.

Yeah we did it this way on an app I worked on in the past, try the verbatim input and then a couple of minor variations in casing if it didn't work. I've also found that for email fields you need to be careful to normalize the input (trim, casing) as safari had a habit of autocorrecting the first character to be a capital

>I've also found that for email fields you need to be careful to normalize the input (trim, casing) as safari had a habit of autocorrecting the first character to be a capital

Why is that relevant? The standard technically allows for case sensitivity but nobody does it

Re: Gmail password first character is case insensitive on mobile device

#37

This has been like this for at least a couple years now. Struck me as bit odd in the beginning but it doesn't really improve the chances of brute forcing too much (which is hard on Google login anyways). And potentially saves so much time and server resources

Why do you suggest it saves time and server resources? Because people are likely to miscaptialize the first character of their password?

On mobile, the keyboard will auto-capitalise the first letter sometimes

Re: Gmail password first character is case insensitive on mobile device

#38
post #17
post #8

Earlier quoted context omitted.

Sadly it can also mean that they save your password in a form that enables them to read it if they need/want it.

Assuming the password is sent over the wire (rather than the salt being sent to the client, the client doing the hash, and sending the hash), the password will be stored in memory while the login process runs Normal password code would be if (doHash(password+salt) == storedHash) { failedLogins = 0; return 1; } failedLogins++; return 0; This would presumably be if (doHash(password+salt) == storedHash) { failedLogins =…

Even if it’s encrypted, they could send both forms.

Edit: not a good idea.

Re: Gmail password first character is case insensitive on mobile device

#39
post #24

Earlier quoted context omitted.

What was the reasoning? Unlike case or typos, you wouldn't accidentally type a password backwards.

This is in no way an educated guess, but it could be something about dealing with right-to-left language support?

The actual character bytes do not go end-to-start in RTL text, so I have a hard time seeing it'd be that. I have no better guess though.

Re: Gmail password first character is case insensitive on mobile device

#40
post #31

Earlier quoted context omitted.

If your storing millions of passwords surely a version field and an if statement is not going to be a huge concern

It is definitely more complicated than changing the case and running the hash again

Why?
Post reply on HN