Re:EA got hacked and games source code leaked including new ...
by jfrunyon on Friday June 11, 2021 @12:29PM
(#27475357)
Because then people find out that it ignores a bunch of your password and people's "password12DHpS*yoCTV44cAmg$gJj" is matched by "password123". Or "correct horse battery staple i have the most brilliant password ever" is matched by "correct horse battery staple".
Re:EA got hacked and games source code leaked including new ...
by thih9 on Friday June 11, 2021 @05:14PM
(#27478594)
Good point, that was too simplistic. Then again, I guess longer passwords could be preprocessed with another hashing function, one that returns a string of X bytes?
My point is that throwing a "password too long" error, especially for 32 characters or less, feels like a wrong approach to me; no matter the circumstances or the amount of backward compatibility that has to be kept.
Re:EA got hacked and games source code leaked including new ...
by kenniskrag on Saturday June 12, 2021 @03:27PM
(#27486864)
I understand your point but then password shucking can be problematic: https://cheatsheetseries.owasp.org/cheatsheets/Password_Stor...
Re:EA got hacked and games source code leaked including new ...
by thih9 on Sunday June 13, 2021 @03:24AM
(#27490526)
What do you mean by problematic? The source links to YT and I can’t view a YT link.
I assume “problematic” here means “difficult but possible”. If problems arise then I guess it’s a matter of priorities; but I think that not inconveniencing the user with password length limits should be high priority.
Re:EA got hacked and games source code leaked including new ...
by mikestew on Friday June 11, 2021 @04:07PM
(#27477819)
In other words, a modern version of Microsoft LAN Manager:
https://en.wikipedia.org/wiki/LM_hash
Save-ya-a-click: basically what jfrunyon describes, along with a whole lot of other insecurity goodness (and to be fair, LANMan was a long time ago).
If that kind of hashing algorithm is a must, why not use first X bytes of the password input?