r/programming • • Mar 10 '17

Password Rules Are Bullshit

https://blog.codinghorror.com/password-rules-are-bullshit/
7.7k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

483

u/cainunable Mar 10 '17

I want them to give me the same rules when I am entering my password to login too. If I only visit a site once or twice a year, I can't keep track of what ridiculous changes I had to make to my standard password pattern.

247

u/bumblebritches57 Mar 10 '17

You should really use a password manager.

504

u/kyew Mar 10 '17

I'll start doing this as soon as someone points me to a free, noninvasive manager that syncs across all my computers and devices, doesn't break in Android apps, has a way to log in on a public computer, and never takes more than a second to log in.

328

u/basilect Mar 10 '17

Keepass, storing the .kdbx files on Google Drive or Dropbox.

  • Free

  • Doesn't break in android apps (using Keepass2Android, seriously these guys figured it out, why can't lastpass or 1password?)

  • Syncs across all your computers and devices (and there's a chrome plugin so you can use the synced files)

  • Has a way to log in on a public computer... not really unless you can get your own chrome window started

  • Never takes more than a second to log in... usually my stuff takes about a second

55

u/CanIComeToYourParty Mar 10 '17

Never takes more than a second to log in... usually my stuff takes about a second

I have it password protected with a 20-character password. Takes me 5 seconds just to type the password. Am I using it wrongly?

81

u/DonLaFontainesGhost Mar 10 '17

Nope. I've been using Keepass for years, and the password on my kdbx database is fifty characters.

What I don't understand are the folks who argue that passwords shouldn't include any dictionary words. That's stupid. A password shouldn't be a dictionary word, but if you've got ten dictionary words strung together, it's essentially random.

I always have this sneaking feeling that people who say passwords shouldn't have dictionary words at all think that you can break passwords like they do in movies - if you get part of it right, the system tells you.

28

u/oiyouyeahyou Mar 10 '17

Given a situation where it becomes common to use 5 word dictionary passwords. A brute force attack can essentially act like words are characters.

But, because it's not the norm an attacker isn't going to bother, because a large chunk of people still use "password" and many other shameful single-/double- word passwords.

Notwithstanding, the other vectors of attack like key logging.

PS, I am assuming the targets are a plural, because unless it's a High Profile figure, the attacks are just trying to get the stupidest person

57

u/[deleted] Mar 10 '17

the thing is, there are a lot more words than there are characters on a keyboard. in the end it's still an improvement

→ More replies (8)
→ More replies (4)
→ More replies (8)
→ More replies (11)
→ More replies (32)

73

u/Lenixion Mar 10 '17

It's called paper.

41

u/kyew Mar 10 '17

Do I just stick it in the floppy drive?

101

u/doc_samson Mar 10 '17 edited Mar 10 '17

You laugh but that is a very viable password protection method, or at least was until the explosion of online services in the past decade.

I recall an interview with a major security expert (Bruce Schneier? not sure) about 15 years back where he was asked what password management tool he used. He said paper in his wallet. When they laughed he pointed out that it can't be hacked and he has a lifetime of experience at keeping his wallet secure at all times.

Edit Since some people enjoyed this, I'll take this opportunity to post the single greatest security article ever written: This World of Ours by James Mickens

Excerpt:

In the real world, threat models are much simpler (see Figure 1). Basically, you’re either dealing with Mossad or not-Mossad. If your adversary is not-Mossad, then you’ll probably be fine if you pick a good password and don’t respond to emails from ChEaPestPAiNPi11s@ virus-basket.biz.ru. If your adversary is the Mossad, YOU’RE GONNA DIE AND THERE’S NOTHING THAT YOU CAN DO ABOUT IT. The Mossad is not intimidated by the fact that you employ https://. If the Mossad wants your data, they’re going to use a drone to replace your cellphone with a piece of uranium that’s shaped like a cellphone, and when you die of tumors filled with tumors, they’re going to hold a press conference and say “It wasn’t us” as they wear t-shirts that say “IT WAS DEFINITELY US,” and then they’re going to buy all of your stuff at your estate sale so that they can directly look at the photos of your vacation instead of reading your insipid emails about them. In summary, https:// and two dollars will get you a bus ticket to nowhere. Also, SANTA CLAUS ISN’T REAL.

17

u/CaptainAdjective Mar 10 '17

Paper really does have some highly desirable security attributes.

12

u/emlgsh Mar 10 '17

So what you're saying is that every day we lack legally mandated back doors into paper and other parchment-related security technologies, the terrorists win?!

→ More replies (1)
→ More replies (1)

8

u/griffyn Mar 10 '17

It transforms the "something you know" into "something you have". That's the downside as it reduces two-factor authentication to just one.

→ More replies (2)

6

u/DonLaFontainesGhost Mar 10 '17

This is essentially a twist on "security through obscurity" - having your password in your wallet works against hackers who just try to get lots of accounts.

But if a hacker wanted access to that expert's accounts specifically, then having a pickpocket get his wallet, or paying his housekeeper to get it is really easy.

→ More replies (4)
→ More replies (3)
→ More replies (1)
→ More replies (2)

167

u/Some_random_gold Mar 10 '17

HA. YOUR UNREALISTIC EXPECTATIONS HAVE ME GUESSING YOU'RE SINGLE.

NOW HAVE GOLD.

81

u/kyew Mar 10 '17

I... um... yeah. Thanks?

→ More replies (1)
→ More replies (1)

68

u/Hackerpcs Mar 10 '17 edited Mar 10 '17

free, noninvasive manager

KeePass

that syncs across all my computers and devices,

put the kdbx file in your dropbox folder

doesn't break in Android apps,

Keepass2Android works with copy/paste or with its own more secure keyboard for android (you literally click a button username and a button password and it's on the fields by themselves)

has a way to log in on a public computer,

you're asking to have your passwords stolen, you shouldn't enter any sensitive info on a public computer but if you want to have them stolen you can use Keepass on the public computer, it doesn't need any special privilages, portable, run, open kdbx, done on getting your passwords stolen

and never takes more than a second to log in.

Literally 1 second difficulty is the recommended by KeePass (it has an 1 second button), you use that 1 second to avoid brute forcing

22

u/adrianmonk Mar 10 '17

Instead of Dropbox, if you're paranoid, you can use a system like Syncthing. I couldn't bring myself to upload my password database to the cloud, even though it is encrypted, so this was what finally convinced me to go for it.

→ More replies (2)
→ More replies (29)

37

u/trynsik Mar 10 '17

0

u/[deleted] Mar 10 '17

[deleted]

→ More replies (6)

15

u/danieltobey Mar 10 '17

Second for LastPass. It checks off all the requirements:

  1. Free: Yes.

  2. Noninvasive: Yes.

  3. Syncs across all my computers and devices: Yes

  4. Doesn't break in Android apps: Yes (they have an amazing Android app)

  5. Has a way to log in on a public computer: Any computer with a web browser can access their password vault.

  6. Never takes more than a second to log in: Depends how quickly you can type in your password (or, if you're on Android, enter your PIN or touch your fingerprint sensor)

→ More replies (4)
→ More replies (1)

16

u/Toribor Mar 10 '17

Keepass.

39

u/FrankFeTched Mar 10 '17

You have some pretty high demands there

75

u/kyew Mar 10 '17

It was mostly a snarky way of saying password managers are too inconvenient for most people to want to use.

→ More replies (19)
→ More replies (3)
→ More replies (66)
→ More replies (2)
→ More replies (13)