A lot of comments here seem to be missing the point. The main point is to use passwords that give you the most "bang for the buck" in the sense of adding the most bits of entropy for the least difficulty of remembering. Adding an extra number, or punctuation, or certain numbers of repetitions generally adds only a little bit of entropy for a significant cost in additional challenge to your memory. Our minds are well…
I've started using song lyrics when given the option of an extra-long password. I can get a very long string with little effort, and it's trivial to remember. The best part is that any automated attack would have to deal with ringtone popups.
Xkcd Password Generator
191–200 of 299 posts
Re: Xkcd Password Generator
#192Earlier quoted context omitted.
If you allow multiple occurrences of the same word, you can get slightly higher entropy while making the passwords potentially even easier to remember. echo $(for i in 1 2 3 4; do shuf -n1 /usr/share/dict/words; done) (Sorry, I'm not very good at bash, so this loop is probably not idiomatic.)
for i in `seq 1 4`; :)
Re: Xkcd Password Generator
#193If this became a popular scheme, the whole entropy argument goes out the door. It only has more entropy if we compare the two schemes on a character-by-character basis (~10 vs. ~25). Of course the longer string will appear to have more entropy.
But if a password guesser expects the pattern of the "four common words" scheme, as they might if it became popular, it's not nearly as entropic. A better comparison would be to consider each word as a single "character" from a 180,000 sized alphabet (for an English dictionary).
Calculate the entropy of that and you'll find it's in the same ballpark.
Re: Xkcd Password Generator
#194Watch out for sites that only use the first 8 characters of your password (no matter how long it is).
Re: Xkcd Password Generator
#195This is 2011, shouldn't every server be configured to allow a guess every two seconds for 20 guesses, then every 10 minutes, or something similar?
I'm not familiar with common practices in this area, but why wouldn't all such services be configured to limit the incorrect guesses?
Re: Xkcd Password Generator
#196Isn't this discussion premised on a server configured to allow fast password guessing indefinitely? This is 2011, shouldn't every server be configured to allow a guess every two seconds for 20 guesses, then every 10 minutes, or something similar? I'm not familiar with common practices in this area, but why wouldn't all such services be configured to limit the incorrect guesses?
Re: Xkcd Password Generator
#197Earlier quoted context omitted.
This is why, for my lab's password changer, the requirement for short passwords is simply that it must have one upper, one lower, one digit, and one none-of-the-above (and be at least 8 characters). If you have a long password (at least 16 characters), all other requirements are waived so that you can use passphrases.
The requirement for many of my website is simply that it "must not consist solely of lowercase letters". (as well as a minimum length).
Which is exactly the sort of terrible restriction xkcd is criticizing.
Re: Xkcd Password Generator
#198Earlier quoted context omitted.
DANGER: This gives no more entropy than what srand() uses, which (at least for GNU awk) is simply the current UNIX time, which (if we assume that when you generated the password is known to within one year) means only about 25 bits of entropy.
srand in awk is platform specific. on most recent is isn't a straight call to srand(). I have another version that I use that stuffs srand but in the end I figured srand from a 250k dictionary is still better than picking words out of your head from a ~1k dictionary
The size of the dictionary doesn't matter (given that it's more than about 70 words); the limiting factor is the entropy in the RNG seeding.
Re: Xkcd Password Generator
#199Earlier quoted context omitted.
This is why, for my lab's password changer, the requirement for short passwords is simply that it must have one upper, one lower, one digit, and one none-of-the-above (and be at least 8 characters). If you have a long password (at least 16 characters), all other requirements are waived so that you can use passphrases.
The requirement for many of my website is simply that it "must not consist solely of lowercase letters". (as well as a minimum length).
There's the secure piece, and there's the obeisance to the stupid website piece.
Re: Xkcd Password Generator
#200Isn't this discussion premised on a server configured to allow fast password guessing indefinitely? This is 2011, shouldn't every server be configured to allow a guess every two seconds for 20 guesses, then every 10 minutes, or something similar? I'm not familiar with common practices in this area, but why wouldn't all such services be configured to limit the incorrect guesses?
Most really strong systems lock an account after a couple of incorrect guesses. I assume this is all for systems that may not be secured to prevent brute force.
Blocking the IP or an increasing time between tries is, afaik, the "right way".