News for hackers. Stuff that matters.
Re:Ask HN: What is your password management solution? by dheera on Saturday July 15, 2017 @11:36AM (#14777170)
I memorized 1024 digits of pi in high school. I can deal with a strong password.

Keep in mind that most password managers also encrypt your password database with your master password, so my solution isn't any worse than those.

Memorizing a even a 16-character (upper/lower + symbols) random string as your master password would be 16*6 = 96 bits of entropy which is more than enough.

Dealing with memorizing ONE good 16-character random string is within the abilities of most people. Dealing with multiple ones is what is hard.

Re:Ask HN: What is your password management solution? by weinzierl on Saturday July 15, 2017 @11:43AM (#14777203)
I don't question your memory, that is not my point. How long do you think it takes to crack a password that consists of digits of Pi or anything derived from it? And it's not about Pi either, it's just that you can't beat a computer in that regard.

For me, playing around with hashcat, was an eye opening experience and I truly believe in the Schneier quote from above.

Re:Ask HN: What is your password management solution? by SAI_Peregrinus on Saturday July 15, 2017 @05:26PM (#14779049)
Create a 10 word diceware passphrase, using the EFF's list. Try to memorize it, it shouldn't take long. Hash it with whatever hash you like. Even MD5. Try to crack it with Haschat. Spend as much time and/or money as you like on the project. It's got over 128 bits of entropy, you won't succeed before the Sun becomes a red giant and incinerates the Earth.
Re:Ask HN: What is your password management solution? by tuxxy on Saturday July 15, 2017 @12:00PM (#14777310)
I agree with Schneier's quote, but you're also forgetting about password hashing. If it takes 10 seconds to derive the key (assuming the use of a strong hash function), anything with a good enough amount of entropy (60-90 bits) should be fine.

When an attacker acquires a leaked database, they're not cracking high entropic passwords.

Re:Ask HN: What is your password management solution? by weinzierl on Saturday July 15, 2017 @12:05PM (#14777345)
Yes, what speaks for dheera's method is the use of a strong KDF and especially (a point that I missed initially) that they use a truly random master password.
Re:Ask HN: What is your password management solution? by rocqua on Saturday July 15, 2017 @11:44AM (#14777208)
The standard password manager is slightly better because the password database works like a 2nd factor.

Also, a character has at most 8 bits of entropy, not 64. If you use base 64 its only 6 bits of entropy. 16 x 6 = 96 bits is still more than enough though.

A downside if everyone used this scheme would be parallelized attacks on reversing the hash for the key. If you find a key that, with this scheme, creates a password for your service, you found the corresponding secret key. This then compromises all of that users passwords.

Re:Ask HN: What is your password management solution? by dheera on Saturday July 15, 2017 @11:58AM (#14777289)
Sorry early morning here, I actually fixed that before I saw your comment -- more like 6 bits per character. In any case more than good enough.

I actually am not a fan of 2nd-factor authentication (e.g. phone). If you lose the physical thing or it gets leaked to a stranger, gunman who mugs you, leaked by security holes in the thing's own embedded OS, it's no longer helping your security. I'd rather authentication depend on only what's in my mind and body and nothing external. Also, I lose stuff and forget stuff pretty easily, so I often just avoid carrying anything.

Re:Ask HN: What is your password management solution? by abrkn on Saturday July 15, 2017 @11:43AM (#14777201)
Which technique did you use? I made it to around 150 using the memory palace technique from the excellent book Moonwalking with Einstein.
Re:Ask HN: What is your password management solution? by dheera on Saturday July 15, 2017 @11:59AM (#14777293)
I'm not sure what the various methods are called or what they are -- never really researched it. I just memorized about 10 digits every day over the course of a summer. Every day I practiced typing out the entire thing a few times as well as practiced the most-recent 100-block several more times.
Re:Ask HN: What is your password management solution? by abrkn on Saturday July 15, 2017 @02:29PM (#14778138)
That's very impressive!
Re:Ask HN: What is your password management solution? by Exuma on Saturday July 15, 2017 @11:42AM (#14777200)
And I thought my memorizing 100 digits was an achievement