Re:How to Safely Store Your Users' Passwords in 2016
by paulddraper on Wednesday February 17, 2016 @10:53PM
(#11123596)
I'm not saying I disagree, but how would you verify identity over the phone?
[ Parent
| on HN ]
Re:How to Safely Store Your Users' Passwords in 2016
by noisy_boy on Wednesday February 17, 2016 @10:57PM
(#11123618)
By allowing people to set their own questions and answers instead of a) using a pre-defined list of questions b) forming questions from information about the customer that friends/acquaintances usually know or information that can be found via a Google search.
Re:How to Safely Store Your Users' Passwords in 2016
by ecoffey on Wednesday February 17, 2016 @11:15PM
(#11123686)
You can still have the question. But my answer is a random 32 character string of alphanumerics :)
Re:How to Safely Store Your Users' Passwords in 2016
by dheera on Wednesday February 17, 2016 @11:27PM
(#11123727)
I algorithmically generate the answers to the security questions with:
answer = PBKDF2(hmacsha1, password + question, "", 100000, 16)
This is also incidentally the basis for how I generate unique passwords for every service except banks, communication, and other sensitive things. I want a different password on every website and don't want to trust any password-remembering software I didn't write. The same function works fine for generating answers to secret questions.
Re:How to Safely Store Your Users' Passwords in 2016
by sarciszewski on Thursday February 18, 2016 @12:08AM
(#11123839)
This is morally equivalent to using a password manager to encrypt your passwords with a "master password". :)
Re:How to Safely Store Your Users' Passwords in 2016
by dheera on Thursday February 18, 2016 @12:22AM
(#11123883)
Not really. I don't oppose using a master password, which I don't use anywhere directly or store on disk anywhere. I just don't want to trust closed-source code to manage passwords, and want to be able to generate the password to anything from anywhere without having to carry around an encrypted table of stored passwords. In this case, I implement it myself, with the help of some common open-source Python libraries.
Re:How to Safely Store Your Users' Passwords in 2016
by equivrel on Thursday February 18, 2016 @05:51AM
(#11124930)
Have a look at pass [1], it's a minimalist tool in bash that is so simple you can easily make adjustments to it yourself. The codebase is very small so it is easy to audit. The principle is that your password are encrypted with your public key. You can then use git to keep running copies of your encrypted passwords on many devices.
Re:How to Safely Store Your Users' Passwords in 2016
by dheera on Thursday February 18, 2016 @09:55AM
(#11126123)
Thanks! This is interesting.
Re:How to Safely Store Your Users' Passwords in 2016
by sarciszewski on Thursday February 18, 2016 @12:31AM
(#11123910)
I did say "morally equivalent" rather than "technologically equivalent".
By that, I mean the overall security of your password scheme is analogous to what people get out of a password manager.
Re:How to Safely Store Your Users' Passwords in 2016
by tokenizerrr on Thursday February 18, 2016 @05:31AM
(#11124839)
Password managers are more secure. Here you just need the master password, with password managers you need the master password and the database file.
Still, a lot better than password re-use.
Re:How to Safely Store Your Users' Passwords in 2016
by tokenizerrr on Thursday February 18, 2016 @05:30AM
(#11124837)
> I just don't want to trust closed-source code to manage passwords
KeePass? It's great, and open source.