News for hackers. Stuff that matters.
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.