Re:Gmail password first character is case insensitive on mob...
by josefx on Saturday October 09, 2021 @03:22PM
(#28812477)
I hope Facebook passwords are limited to US ASCII, because I seem to remember that there are country specific conversion rules for various Unicode characters that may or may not be subject to change, not to mention the lack of 1:1 mapping for case conversions. Example the German lower case ß converts to SS, so does ss. Of course they also created an upper case variant ẞ of ß a few years ago so who knows what mapping any software will use.
Going further to avoid collisions that could happen between words like massen and maßen when upper cased the rule of thumb was to convert ß to SZ when that happened, so getting the correct upper case would have also required a full German dictionary.
TL;DR: Upper/Lower case conversion is complex, avoid it if possible.
Re:Gmail password first character is case insensitive on mob...
by josefx on Sunday October 10, 2021 @04:21AM
(#28816742)
Small addition since I completely forgot it: Since here the attempt is to fix caps lock issues the upper case of ß also depends on the users keyboard layout, for my keyboard ß would map to ?. Does anyone even have a list of all the keys that map to ? in different keyboard layouts?
Re:Gmail password first character is case insensitive on mob...
by josefx on Saturday October 09, 2021 @04:31PM
(#28813007)
Correct me if I am wrong but this doesn't seem to allow case conversion:
> Case Mapping Rule: There is no case mapping rule (because mapping uppercase and titlecase code points to their lowercase equivalents would lead to false accepts and thus to reduced security).
Re:Gmail password first character is case insensitive on mob...
by azernik on Saturday October 09, 2021 @10:44AM
(#28810310)
That only works if they have the same insensitivities across time and platforms. In this case, they still need to preserve the original information, because they're case sensitive on that first transformation for non-mobile devices.
Re:Gmail password first character is case insensitive on mob...
by rovr138 on Saturday October 09, 2021 @11:12AM
(#28810537)
Doing this reduces way more the space of characters and reduces security.
Re:Gmail password first character is case insensitive on mob...
by freemint on Saturday October 09, 2021 @11:43AM
(#28810825)
It reduces the password strength by at most two bits. For passwords made solely of non letters there is no reduction in password strength.
Re:Gmail password first character is case insensitive on mob...
by nitrogen on Saturday October 09, 2021 @01:38PM
(#28811717)
It's one bit per alphabetic character, isn't it?
Re:Gmail password first character is case insensitive on mob...
by smrq on Saturday October 09, 2021 @01:44PM
(#28811764)
No, it's only one bit for the first character and one for the second. The case of every other character is maintained relative to the second character, so the parity there provides the one bit of information for each subsequent alphabetic character.
Re:Gmail password first character is case insensitive on mob...
by nitrogen on Saturday October 09, 2021 @02:10PM
(#28811937)
Whoops, I didn't notice that the two L's were still capitalized in the normalization example a few comments up.
HeLLo, heLLo, hEllO, HEllO all normalize to heLLo