TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Gmail password first character is case insensitive on mobile device

378 pointsby rdpintqogeogsaaover 3 years ago

23 comments

josalhorover 3 years ago
This is a well-understood feature. Facebook does the same thing[0]. Quote:<p>Facebook actually accepts three forms of your password:<p>* Your original password.<p>* Your original password with the first letter capitalized. This is only for mobile devices, which sometimes capitalize the first character of a word.<p>* Your original password with the case reversed, for those with a caps lock key on.<p>[0]: <a href="https:&#x2F;&#x2F;www.zdnet.com&#x2F;article&#x2F;facebook-passwords-are-not-case-sensitive-update&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.zdnet.com&#x2F;article&#x2F;facebook-passwords-are-not-cas...</a>
评论 #28809300 未加载
评论 #28809578 未加载
评论 #28810009 未加载
评论 #28809283 未加载
johnnyApplePRNGover 3 years ago
Probably a feature, not a bug.<p>Most mobile keyboards automatically capitalize the first character by default.<p>With the ephemeral nature of password characters upon entry; it would be easy to miss the capitalization, annoying users.<p>This one small trick probably prevents millions of people from becoming frustrated with Google every single day.<p>And I&#x27;ll bet it only works one way.<p>If your password was &quot;ABCD&quot;, then by my logic &quot;aBCD&quot; should work.<p>But if your password was &quot;abcd&quot;, then &quot;Abcd&quot; should not work.
评论 #28809343 未加载
评论 #28809174 未加载
评论 #28809179 未加载
评论 #28814543 未加载
评论 #28812642 未加载
评论 #28809148 未加载
DonHopkinsover 3 years ago
I posted this earlier:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21862160" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21862160</a><p>There&#x27;s a much more evil prank than that:<p>A user was having a really bizarre problem: They could log in when they were sitting down in a seat in front of the keyboard, but when they were standing in front of the keyboard, their password didn&#x27;t work! The problem happened every time, so they called for support, who finally figured it out after watching them demonstrate the problem many times:<p>It turned out that some joker had rearranged the numbers keys on the keyboard, so they were ordered &quot;0123456789&quot; instead of &quot;1234567890&quot;. And the user&#x27;s password had a digit in it. When the user was sitting down comfortably in front of the keyboard, they looked at the screen while they touch-typed their password, and were able to log in. But when they were standing in front of the computer, they looked at the keyboard and pressed the numbers they saw, which were wrong!
martincmartinover 3 years ago
I just want a phone number input box that will strip dashes for me.<p>Many go to the effort of having an error message pop up that says &quot;no dashes or parentheses allowed.&quot; 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.
评论 #28809110 未加载
评论 #28808875 未加载
评论 #28809071 未加载
评论 #28808938 未加载
评论 #28809704 未加载
评论 #28809676 未加载
评论 #28809906 未加载
评论 #28809295 未加载
qwerty1793over 3 years ago
Similarly there are many sites that allow you to log in using `your password` or `your password`.swapcase() (for example, Password123 or pASSWORD123). Automatically trying a variant only costs a single bit of entropy and can greatly reduce login issues
评论 #28808888 未加载
评论 #28812824 未加载
评论 #28808684 未加载
ourmandaveover 3 years ago
So many sites require &quot;at least one uppercase letter&quot; and a &quot;special character&quot; and people use the same password for everything.<p>I wonder how many passwords have the first letter uppercase because that&#x27;s easy to remember.<p>And then a trailing &quot;!&quot; because it&#x27;s the first one you see.<p>Not that I would ever do that.
评论 #28809166 未加载
评论 #28812744 未加载
ufmaceover 3 years ago
This doesn&#x27;t bother me that much, but what really grinds my gears is how many sites won&#x27;t let you log in with the correct username and password. I don&#x27;t care enough about the account to want to set up 2FA, and I&#x27;d rather preserve a bit more privacy by not sharing my real phone number or another email address. Some sites seem to insist, and I think it&#x27;s more about advertising and anti-spam than actual security.<p>Yahoo seems to be big on this these days. I had an old Yahoo account that I don&#x27;t use much, but every time I try to log in, they seem to change around exactly what pseudo-2FA they want. Now they won&#x27;t even let me try to type my password. Good grief, guess I&#x27;ll just write off that account.
评论 #28810718 未加载
评论 #28812229 未加载
Gigachadover 3 years ago
This doesn’t seem particularly alarming. Googles account security is above and beyond the rest of the web right now. I doubt a single attack has been made realistic by this feature.
评论 #28815124 未加载
mrbover 3 years ago
As an ex-Googler in the Information Security Engineering team who has looked at our implementation of password authentication, I confirm this is a feature, not a bug. (Some old mobile devices auto-capitalize of the first character typed in a text field.) That said, I can&#x27;t remember of the top of my head if we just ignored the case altogether or if the logic was more restrictive (eg. if first char is uppercase, also allow its lowercase version.) Last time I looked at the code was 6 years ago.<p>Pretty sure this is a detail documented somewhere public-facing
grepfru_itover 3 years ago
For a very long time, Chase bank public websites only accepted the first 8 characters of your password. Anything else was silently dropped. If you used Chase for any loans, credit cards, or banking, you were forced to change your password around 2016ish, this is when they finally resolved this problem. Why? Mainframes.<p>Bank of America, internally, required you to have two passwords, a Windows and a UNIX password. The UNIX password was only 8 characters due to , you guessed it, mainframes. I don&#x27;t know if this was ever resolved.
tracatraover 3 years ago
I was briefly an intern in a company in which the only part of the password that was checked were the first four characters. I don&#x27;y know whether it was due to using PIN numbers in the past or they just wanted people to feel safe but not call IT constantly about the account not working... I wonder whether they&#x27;re still doing that...
CGamesPlayover 3 years ago
It&#x27;s because early mobile keyboards would default to automatically capitalize the first character at the start of an input, and apparently did this behavior to password fields as well. Facebook has also had this password behavior for at least 10 years.
chris_lover 3 years ago
So they hash both versions of the password? Or how does this work?
评论 #28808628 未加载
评论 #28808673 未加载
评论 #28808665 未加载
评论 #28808655 未加载
评论 #28808718 未加载
评论 #28808660 未加载
dhruvrrpover 3 years ago
This reminds me of an intern project in my friends company where they stored all hashes a few hamming distance from the password, so even with typos you would get logged in.<p>Iirc it had a cool demo, but was never used in production.
评论 #28809054 未加载
sigmaprimusover 3 years ago
I have recieved a few notifications of login attempts from Windows 8 phones. I wonder if there is other security allowances for these devices making them the ideal platform for launching attacks.<p>PS. You can see this for yourself, just leave a negative review for Staples Canada on google and your account will be attacked from somewhere inside Vietnam via windows phone.
twistedpairover 3 years ago
Ever call Fidelity phone support and hear &quot;enter your password on the keypad&quot;? That means collapsing ~62 chars into 10 char options, a massive space reduction.<p>Then there&#x27;s the fact that many banking sites (BofA, IIRC) only used the first 8 char of your password anyway.
评论 #28810052 未加载
评论 #28812324 未加载
siegfried-enover 3 years ago
This has been like this for at least a couple years now. Struck me as bit odd in the beginning but it doesn&#x27;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
评论 #28808815 未加载
mindvirusover 3 years ago
That&#x27;s a nice feature.<p>It got me thinking - imagine wanting to let users log in with a single character typo in their password, could you do this without storing hashes of all edit distance 1 passwords?
评论 #28809730 未加载
评论 #28809595 未加载
评论 #28809507 未加载
kseifriedover 3 years ago
This is a classic case of <a href="http:&#x2F;&#x2F;spellchecksquatting.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;spellchecksquatting.com&#x2F;</a>
adultSwimover 3 years ago
I cannot wait until we are rid of passwords. I&#x27;m sick of begging my computer to let me use it. Let&#x27;s just use 2FA and cut out the password.
danschumannover 3 years ago
When the login page helps you brute force your own account...<p>What if.. in the RARE case, a hacker guessed wrong, but was helped by google to get into your account?
vfistri2over 3 years ago
doesn&#x27;t that mean they are storing plain text&#x2F;reversible encrypted passwords? I have gmail and facebook accounts way before mobile was invented, if they&#x27;ve added that feature for mobile imho it means password was stored in plain text or with 2 way encryption
评论 #28809478 未加载
评论 #28809466 未加载
评论 #28809443 未加载
评论 #28809586 未加载
评论 #28809463 未加载
sammy2244over 3 years ago
Hijacking this thread to say Batlle.net&#x2F;Blizzard passwords are case insensitive altogether
评论 #28809508 未加载