News for hackers. Stuff that matters.
Re:Ask HN: What are the best practises for using SSH keys? by daenney on Sunday September 25, 2016 @08:11AM (#12574985)
Why not? Granted the passphrase are in one place but as long as your password store doesn't get compromised managing to brute force a key's password then only gives you access to the machine(s) that one key is accepted on.

Also, the keys don't have to reside on the same device the password store is on. If you have one key per client device for example.

Re:Ask HN: What are the best practises for using SSH keys? by eddieroger on Sunday September 25, 2016 @09:52AM (#12575309)
Because if your password manager is compromised, so are all of the passphrases stored in it. So what would the point, then, be of using different ones?
Re:Ask HN: What are the best practises for using SSH keys? by a3n on Sunday September 25, 2016 @01:11PM (#12576193)
So because a password manager is one-stop shopping (something that I'm subconsciously uneasy about, to be sure), it's pointless to use different passphrases, one of the major selling points of password managers.

So to protect against that, don't use a password manager. Which means that you're more likely to re-use passphrases, because lots of them are hard to remember and keep straight. So breaking one gets access to many others.

My head spins.

Re:Ask HN: What are the best practises for using SSH keys? by vitus on Sunday September 25, 2016 @01:29PM (#12576271)
I was originally going to post something along these lines, but then I realized that this argument doesn't work the same in this particular context, and the parent isn't necessarily arguing against password stores in general. Sure, it might be better (in the sense of not concentrating your risk to a single file) to have a strong (importantly, private) scheme for creating passwords (say, based on the site and account name). But if you're restricted to some inane restrictions ("6-10 alphanumeric characters"), then there's not really a strong argument against a password manager in this case.

Sure, in general, you want to avoid password reuse to isolate password compromises / security breaches (some companies are still storing passwords in plaintext in 2016, ugh). But in this case, we're talking about private keys that should never leave your local machine. If those are compromised (even passphrase-protected), then it's not inconceivable to think that your password store might also be compromised.

Re:Ask HN: What are the best practises for using SSH keys? by a3n on Sunday September 25, 2016 @01:51PM (#12576377)
> he parent isn't necessarily arguing against password stores in general.

Yeah, reliazed that, my post was just my "logical" progression.

Re:Ask HN: What are the best practises for using SSH keys? by eddieroger on Tuesday September 27, 2016 @10:52AM (#12589997)
The compromise I use is to break the cycle: Use a password manager to generate strong passwords (and different ones, because breaches happen), and use a hardware token-based password for the manager itself. At least that's the compromise I'm comfortable with.