News for hackers. Stuff that matters.
Re:Ask HN: Alternatives to Yubikey? by tptacek on Monday June 12, 2017 @12:30PM (#14538546)
It's worth considering: almost nobody who uses Yubikeys loves them, but they are by a wide margin the tokens experts recommend most.
Re:Ask HN: Alternatives to Yubikey? by dkhenry on Monday June 12, 2017 @03:02PM (#14540024)
I use my yubikey and I love it. I have it set up to do GPG, SSH, TOTP, and U2F and it works great. It is worlds better then any other Smart Card or second factor out there, and U2F is literally just plug it in and tap it.
Re:Ask HN: Alternatives to Yubikey? by rst on Monday June 12, 2017 @03:26PM (#14540230)
Have you got a writeup of the ssh setup methodology you used?

(I've tried scouting around, but not found anything clear yet. Someone's done native support in ssh, but the patch set is hung up on licensing issues and technical quibbles[1], and some of the PAM-based setups seem to require cut-and-paste of crypto strings on every login.)

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2319

Re:Ask HN: Alternatives to Yubikey? by ReAzem on Monday June 12, 2017 @04:56PM (#14541042)
I use this:

http://www.bootc.net/archives/2013/06/09/my-perfect-gnupg-ss...

Coupled with a standard yubikey+gpg agent setup

Maybe look at my dotfiles if you are stuck:

- https://github.com/aviau/dotfiles

Re:Ask HN: Alternatives to Yubikey? by rst on Monday June 12, 2017 @05:00PM (#14541074)
Thanks!
Re:Ask HN: Alternatives to Yubikey? by tptacek on Monday June 12, 2017 @03:18PM (#14540172)
The U2F bit is a dream, yes. The rest of it not so much.
Re:Ask HN: Alternatives to Yubikey? by akulbe on Tuesday June 13, 2017 @07:23PM (#14549526)
What do you recommend?
Re:Ask HN: Alternatives to Yubikey? by atmosx on Monday June 12, 2017 @04:58PM (#14541058)
Is there any sort of backup in case it gets destroyed or lost? Can you clone it?
Re:Ask HN: Alternatives to Yubikey? by tptacek on Monday June 12, 2017 @05:04PM (#14541102)
The entire security model depends on the devices being uncloneable.
Re:Ask HN: Alternatives to Yubikey? by noja on Monday June 12, 2017 @05:13PM (#14541170)
But my security model does not allow putting myself in a position where I am stranded without my second factor (or doing huge amounts of work re-registering everything).
Re:Ask HN: Alternatives to Yubikey? by tptacek on Monday June 12, 2017 @05:16PM (#14541183)
That's why you set up backup factors.

It is for the same reason that services like Google Mail won't let you set up a U2F token without a backup factor.

Re:Ask HN: Alternatives to Yubikey? by nobodyorother on Monday June 12, 2017 @05:02PM (#14541084)
The only backup I know of is getting another key that you register in the same way as the first key.

Hopefully they don't both break at the same time.

Re:Ask HN: Alternatives to Yubikey? by api on Monday June 12, 2017 @12:39PM (#14538615)
The problem is largely with their docs, or lack thereof. Just figuring out how to use one as a token for ssh is incredibly painful. The docs are very "enterprise," meaning half-done, overly complicated, confusing, scattered, etc.
Re:Ask HN: Alternatives to Yubikey? by tptacek on Monday June 12, 2017 @01:14PM (#14538927)
It is extraordinarily annoying to set up a Y4 for SSH. We use gpg-agent in ssh-agent compat mode.
Re:Ask HN: Alternatives to Yubikey? by noinsight on Monday June 12, 2017 @04:03PM (#14540592)
It would be better if they supported the OpenSSH PKI format.
Re:Ask HN: Alternatives to Yubikey? by drdaeman on Monday June 12, 2017 @12:41PM (#14538636)
There was a series of changes, e.g. regarding platform keys, software source availability etc etc. I think there were some "I don't endorse this anymore" posts, although I don't really remember the details.
Re:Ask HN: Alternatives to Yubikey? by tptacek on Monday June 12, 2017 @01:13PM (#14538920)
I've read "I don't endorse this" from open source advocates, but none from crypto engineers.