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 guide for Git Signing, SSH Auth, U2F 2FA, and 1Password (2017)

155 pointsby EngineerBetterabout 6 years ago

11 comments

m3nuabout 6 years ago
(Title needs the year since the article is from 2017.)<p>For keeping SSH keys, the PIV module seems a bit simpler than GPG. I just went through the process myself.[1]<p>They should also mention FIDO U2F, which already works well with Google, AWS and Github among others. Implementing it for your own site also seems doable.<p>1: <a href="https:&#x2F;&#x2F;blog.snapdragon.cc&#x2F;2019&#x2F;04&#x2F;27&#x2F;using-a-yubikey-to-secure-ssh-on-macos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.snapdragon.cc&#x2F;2019&#x2F;04&#x2F;27&#x2F;using-a-yubikey-to-sec...</a>
评论 #19788365 未加载
评论 #19788669 未加载
评论 #19791414 未加载
评论 #19789267 未加载
JudgeWapnerabout 6 years ago
I wish Yubikeys supported hardware AES encryption <i>on the device</i>, and a hardware entropy source (vibration, rf, probably couldn&#x27;t fit atomic-decay-mesurement in a usb key, but something).<p>My personal tinfoil headwear has me believing that AES on any of the Big-2 CPU&#x27;s is compromised, probably via key logging deep in the bowels of the die. And the RNG could have a similar backdoor.
评论 #19789467 未加载
AdmiralAsshatabout 6 years ago
I&#x27;ve got two Yubikeys already (a Neo, and an older barebones Yubikey that I got as a gift for getting an Ars Technica subscription), but so far Gmail is the only account of mine that is protected by it.<p>One repeated problem I&#x27;ve run into so far is that Firefox can read the Yubikey when it&#x27;s inserted but it can&#x27;t <i>add</i> the Yubikey as a new device yet. I have to pull up Chrome&#x2F;Chromium to do so. After my most recent laptop reformat I vowed never to install Chromium again, even temporarily, so, out of luck until Mozilla gets that fixed, I suppose.
评论 #19788925 未加载
exabrialabout 6 years ago
Apple: Please support U2F, because &quot;Privacy is a basic human right&quot; [per your EULA], which requires security.
评论 #19790823 未加载
ak217about 6 years ago
Shameless plug for a library that I wrote (still developing) for storing AWS API keys on a Yubikey (and signing API requests from the Yubikey): <a href="https:&#x2F;&#x2F;github.com&#x2F;pyauth&#x2F;exile" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pyauth&#x2F;exile</a>
peterwwillisabout 6 years ago
Has anyone actually seen personal SSH or Git signing keys get stolen and used in attacks (not counting servers sitting on the internet with ssh open) ? It seems like the only really useful purpose for these tokens is as an MFA token, because passwords just suck. At the same time, it seems like long random bits that can&#x27;t be remembered by humans just aren&#x27;t so vulnerable that we need to carry around something to unlock them.<p>Maybe the issue is just that it&#x27;s so easy to attack password-protected systems that nobody even needs to attack keys.
评论 #19788229 未加载
评论 #19789377 未加载
评论 #19790161 未加载
guiomieabout 6 years ago
I like the added security of yubikeys, I use it for Google account and Facebook. Sadly it won&#x27;t easily work everywhere, I seem to always have issues with my smartphone (missing adapter or rfid not working well), but my biggest pain is it doesn&#x27;t work on PS4, my youtube account always gets unlinked randomly, than I need to go my computer, disable 2FA, sign-in on the ps4, and reenable 2FA.<p>I like the idea of SSH&#x27;ing with it, ill give that a shot.
评论 #19788792 未加载
评论 #19788451 未加载
akerl_about 6 years ago
Storing your 1Password Master Password on a yubikey seems like a really bad idea for most threat models. This means that anybody in physical possession of the Yubikey can immediately and permanently steal your master password. Additionally, for shared computers, anyone who can run code on that system can log static creds, the same as if the user typed it.
评论 #19788700 未加载
评论 #19788399 未加载
评论 #19788190 未加载
jdfellowabout 6 years ago
I&#x27;ve been using a Trezor crypto wallet for most of these things; it has password manager features but I haven&#x27;t switched from LastPass for that yet.<p>I&#x27;ve even enabled U2F 2FA on my work desktop for log in, and use it as 1FA to unlock the screenlock, and it automatically locks when I unplug it. Very slick. You could do similar with YubiKey.
dpflanabout 6 years ago
Does anyone use a Yubikey for personal rather than business&#x2F;employment situations? Would a Yubikey ring make any sense for personal use (for example, you have Yubikey ring that connects via NFC with your device (phone, computer) and is require for auth&#x27;ing financial transactions?
评论 #19789046 未加载
评论 #19788176 未加载
EngineerBetterabout 6 years ago
It&#x27;s worth pointing out that AWS does now support U2F, which isn&#x27;t reflected in the posts.
评论 #19789892 未加载