TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

YubiKey – Making secure login easy

63 pointsby hernantzalmost 10 years ago

14 comments

2bluescalmost 10 years ago
I use the Yubikey Neo as a smartcard + gpg for ssh private key logins[1], U2F with Google[2] accounts, and their OTP for things like LastPass[3].<p>I wrote some patches for KeepassX to use the Yubikey to derive the encryption key (completely offline)[4] but unfortunately the maintainer has zero interest in merging them.<p>[1] <a href="https:&#x2F;&#x2F;www.yubico.com&#x2F;2012&#x2F;12&#x2F;yubikey-neo-openpgp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.yubico.com&#x2F;2012&#x2F;12&#x2F;yubikey-neo-openpgp&#x2F;</a><p>[2] <a href="http:&#x2F;&#x2F;googleonlinesecurity.blogspot.com&#x2F;2014&#x2F;10&#x2F;strengthening-2-step-verification-with.html" rel="nofollow">http:&#x2F;&#x2F;googleonlinesecurity.blogspot.com&#x2F;2014&#x2F;10&#x2F;strengtheni...</a><p>[3] <a href="https:&#x2F;&#x2F;www.yubico.com&#x2F;products&#x2F;services-software&#x2F;personalization-tools&#x2F;yubikey-otp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.yubico.com&#x2F;products&#x2F;services-software&#x2F;personaliz...</a><p>[4] <a href="https:&#x2F;&#x2F;github.com&#x2F;keepassx&#x2F;keepassx&#x2F;pull&#x2F;52" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;keepassx&#x2F;keepassx&#x2F;pull&#x2F;52</a> and <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7801131" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7801131</a>
评论 #9762167 未加载
评论 #9741361 未加载
评论 #9736871 未加载
artursapekalmost 10 years ago
I use a Yubikey for my Google accounts. They did a great job integrating it as a multi-factor auth option. It&#x27;s a lot easier than punching in numbers from an SMS&#x2F;Google Authenticator.<p>My Yubikey feels like a natural member of my key ring! I love it.
dguidoalmost 10 years ago
FYI anyone can integrate yubikey u2f logins on their website. It&#x27;s easy, try it out:<p><a href="https:&#x2F;&#x2F;developers.yubico.com&#x2F;U2F&#x2F;Libraries&#x2F;List_of_libraries.html" rel="nofollow">https:&#x2F;&#x2F;developers.yubico.com&#x2F;U2F&#x2F;Libraries&#x2F;List_of_librarie...</a>
评论 #9736962 未加载
codewritinfoolalmost 10 years ago
I bought a YubiKey so I could use it on my laptop with LastPass. Works fine. One day I grabbed my iPad and opened the LastPass app and it hit me... how am I going to authenticate with a YubiKey on an iPad. It took my password and then just worked.<p>I guess I misunderstood. I thought that once I enabled two-factor auth for LastPass, it&#x27;d require that no matter what. Nope, just open the iPad app and no two-factor required.
评论 #9736611 未加载
评论 #9737128 未加载
评论 #9741656 未加载
评论 #9736802 未加载
lwfalmost 10 years ago
See also: <a href="https:&#x2F;&#x2F;developers.yubico.com&#x2F;PGP&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developers.yubico.com&#x2F;PGP&#x2F;</a> -- OpenPGP&#x2F;GnuPG support <a href="https:&#x2F;&#x2F;developers.yubico.com&#x2F;PIV&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developers.yubico.com&#x2F;PIV&#x2F;</a> -- PKCS certificates
kriroalmost 10 years ago
I own a YubiKey Neo. My plan was to use it with KeePass&#x2F;OATH HOTP (I used it with master password only on my three main devices). Turns out the OtpKeyProv plugin won&#x27;t work on the OSX version I used before (MyPass Companion, switched to MacPass since because well it&#x27;s on github). So for now I&#x27;m using the non-native Windows version with Mono.<p>Alas synching between different machines isn&#x27;t easy (counter gets out of synch) and I&#x27;m not all that comfortable with keeping the databse in my owncloud.<p>If anyone has a good suggestion for a crossplattform (Xubuntu, OSX, Android), synchable and FLOSS OATH HOTP password storage solution that doesn&#x27;t rely on 3rd party cloud storage I&#x27;m all ears. Not exactly a security expert but I feel that&#x27;s the setup I want :) I could fallback to challange&#x2F;response and that would fix some issues but be less secure.<p>[The Yubikey itself is pretty cool though]
评论 #9737459 未加载
goblin89almost 10 years ago
Compared to Google Authenticator app, YubiKey (a) makes hardware-based OTPs as opposed to time-based OTPs (does that offer stronger security?) and (b) can be used as smart card in GnuPG solutions.<p>It being a separate piece of plastic might arguably be another advantage, if we assume that most people are more likely to lose their phone than their keyring.<p>It’s interesting: apparently[0], YubiKey is Google’s initiative and the company itself uses YubiKeys internally.<p>[0] <a href="http:&#x2F;&#x2F;www.forbes.com&#x2F;sites&#x2F;amadoudiallo&#x2F;2013&#x2F;11&#x2F;30&#x2F;google-wants-to-make-your-passwords-obsolete&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.forbes.com&#x2F;sites&#x2F;amadoudiallo&#x2F;2013&#x2F;11&#x2F;30&#x2F;google-w...</a>
评论 #9737029 未加载
评论 #9738431 未加载
评论 #9739691 未加载
yannovitchalmost 10 years ago
<a href="https:&#x2F;&#x2F;xkcd.com&#x2F;538&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;538&#x2F;</a><p>I use too the Yubikey Neo as a smartcard, but not with the GPG applet, rather with the PIV applet. As such, to connect to my most secure servers, my Yubico is mandatory and as such it&#x27;s just impossible to bruteforce your way in. I use the GPG applet ...well...for GPG.<p>However, I&#x27;m still looking for a cheap way to do fingerprint (rather than typing your PIN) authentication. Does anybody have heard of a fingerprint token which works with Linux AND Mac OS X ? Or is it possible to have a fingerprint reeader as some sort of proxy ?<p>Second question, I wanted to use the Yubico NEO as a smartcard token with a TrueCrypt fork, but the Truecrypt source code has really specific requirements for the object they can store on a smartcard (buggy requirements if you ask me) and as such it&#x27;s not possible to use the Yubico as a physical decryption key for encrypted volume. Does anybody have a suggestion for an other working solution ?
apialmost 10 years ago
Just got some of these to secure ssh login to our infrastructure. Work great but be prepared for a bit of a hassle especially if you&#x27;ve never used anything like a smart card before. Finding simple answers to how to use as an rsa smart card device for ssh took a few hours and getting it into the right mode took some obscure commands.
评论 #9737186 未加载
homakovalmost 10 years ago
Thanks but no, google auth can be installed on any mobile device. Why bother with some &quot;keys&quot;
评论 #9736531 未加载
评论 #9737053 未加载
评论 #9736492 未加载
评论 #9736494 未加载
salibhaialmost 10 years ago
What happens if you lose or break this thing and you have it configured on lastpass or google login?
评论 #9737038 未加载
评论 #9736797 未加载
评论 #9737135 未加载
falsedanalmost 10 years ago
My biggest issue with YubiKey is I have to be mindful when picking up my laptop or else I eidlioustrioutnasdillkaoei all over the place.
评论 #9737342 未加载
newman314almost 10 years ago
I don&#x27;t see a good way to use this with an iOS device and 1Password...
评论 #9736719 未加载
评论 #9737030 未加载
cmbausalmost 10 years ago
This looks interesting, but I don&#x27;t totally understand how it works. How is the key changed every time on the server? It looks like it requires server side support.
评论 #9736057 未加载
评论 #9736025 未加载
评论 #9736156 未加载