Earlier quoted context omitted.
On the plus side, they're telling people about the limit. I visit so many websites that will happily take passwords of arbitrary length without complaint... until you try to log in and your password doesn't work because the password you entered was too long and it truncated it.
I have an auto loan with a company which truncates the username. It's bizarre because they'll happily let you key in the entire username when you go to log in, but it truncates when you first set your account up. Why on earth would you ever need to truncate a username?
McGill will double your password if you don’t do it first
111–120 of 152 posts
Re: McGill will double your password if you don’t do it first
#112>The need to change passwords arose in April, when the Heartbleed vulnerability was revealed. Heartbleed makes systems vulnerable to data theft since attackers can use it to gain access to systems and then proceed to access and steal information without leaving a trace. >Even though our central IT systems are protected against Heartbleed, any accounts that have already been stolen still pose a security risk. Almost 2…
Re: McGill will double your password if you don’t do it first
#113Earlier quoted context omitted.
I don't think that's necessarily true. Let's say they have all of the passwords stored as bcrypt hashes, and they also know the last time you changed your password. They could just update the application logic to check that your password is of the form if your last change date is before X. Then to check the password, they just take the first half and check that against the hash.
Yep, basically: if(userHasUpdatedPw) { checkPw(hash(pw)) } else{ checkPw(hash(pw+pw)) }
if(userHasUpdatedPw) { checkPw(hash(pw)) }
else{ checkPw(hash(assertDoubledAndTakeHalf(pw)))}Re: McGill will double your password if you don’t do it first
#114Earlier quoted context omitted.
There's also the "exactly 8" limit increased to "8 to 18". Why even have those limits? If you're hashing it there's no reason to have a limit at all.
I always thought that the max is there to discourage users from setting passwords so long they can't remember them (and instead write them down on a post-it that's right on the monitor).
Re: McGill will double your password if you don’t do it first
#115The fact that they're able to "double your password" is a bad sign. Here's what this implies to me: * McGill had a database of everyone's password in plaintext at the time of Heartbleed * McGill is concerned about mitigating possible security compromises due to Heartbleed, including these plaintext passwords, which if they were compromised were compromised all at once * Despite this concern, McGill still has a databa…
There's also the "exactly 8" limit increased to "8 to 18". Why even have those limits? If you're hashing it there's no reason to have a limit at all.
Re: McGill will double your password if you don’t do it first
#116Earlier quoted context omitted.
Then why not just force them to change the password on login?
One possible answer: Because tenured faculty can call up the helpdesk and get policies reversed, because they're tenured and the helpdesk isn't. Another possible answer: Many systems can't prompt for password changes, and will just continue to log you in (because, especially for remote-access systems, that's better than denying access and hoping you find another way to get logged in). Probably the lazier of the users…
Re: McGill will double your password if you don’t do it first
#117Re: McGill will double your password if you don’t do it first
#118Earlier quoted context omitted.
A better way to do this would have been: * hash current passwords with a salt, unique to each password entry, and throw away the plaintext entries. * keep a history of hashes per user, to prevent changing to a past password * ensure fair complexity of the incoming password * once the deadline has been reached, force users who have not yet changed their password to do a password reset via an online form * never, ever…
> ensure fair complexity of the incoming password As we all know, a typical password validator formula is a great way to encourage people to choose "Secr3t!", or something else equally bad. I'd really like to see a password field that auto-generated pass phrases using full english words from a sufficiently large wordset (in the vein of "correct horse battery staple"), possibly even enforcing such phrases as the only…
Why not try to generate semi random pronounceable passwords? There's a clear decrease in entropy but brute force cracking against all pronounceable strings less than 20 chars will still be hard. (Of course your definition of pronounceability might differ.)
Re: McGill will double your password if you don’t do it first
#119Earlier quoted context omitted.
Because it annoys the holdout users into changing their passwords.
Back in my day ( old man grumble ) the system would force you to change your password on next login. Simple, effective. This approach is just a dumb prank.
Re: McGill will double your password if you don’t do it first
#120Earlier quoted context omitted.
I have an auto loan with a company which truncates the username. It's bizarre because they'll happily let you key in the entire username when you go to log in, but it truncates when you first set your account up. Why on earth would you ever need to truncate a username?
In addition to the frontend issue mod mentioned, it often happens accidentally without any errors or warnings when using a VARCHAR in a relational database, which have a maximum length. If the username field is VARCHAR(20), the application ignores database truncation warnings, and the developer didn't think to check the username length before storing it in the database, it'll truncate a 21-character username without…