YubiKey
Hacker ApprovedHardware security key in Privacy & security
A physical 2FA and passkey key that keeps secrets on the device and blocks phishing, best bought in pairs; critics cite patchy site support and no syncing between keys.
A physical 2FA and passkey key that keeps secrets on the device and blocks phishing, best bought in pairs; critics cite patchy site support and no syncing between keys.
268 people gave an opinion
- recommend it
- 206
- criticize it
- 62
- approval share
- 77%
Recommended in 13 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: recommended (month in progress)
Owned for 7 years
Median of the 7 owners who said how long they have had it.
Each square is one year.
Why it carries the badge
- 206 people recommend itNeeds 10 or more, met.
- 3.3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 13 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Secret never leaves the device
“If your 2FA is a proper device, like a Yubikey, the attack surface is tinier than tiny and the device ensures that your secret never leaves the device.”
Comment from 28 Feb 2026 in “Don't use passkeys for encrypting user data” “the user gets to authenticate the use of the secret, but it never leaves the hardware token”
Comment from 20 Oct 2026 in “How I got over 300 Tor exit nodes removed” “The challenge to auth happens inside the Yubikey and the secret never leaves the Yubikey.”
Comment from 16 Apr 2026 in “Put your SSH keys in your TPM chip” Strong protection against phishing
“it is truly safer than their physical notebook because they are safe from being tricked into entering their password in the wrong place”
Comment from 22 Jul 2026 in “Passkeys were invented by engineers with zero understanding of consumer brain” “so you can't (as easily) get tricked into entering some TOTP (or email/sms) code into a fraudulent website.”
Comment from 1 Dec 2025 in “Stop Hacklore – An Open Letter” “yubikey in the fido/webauthn form protects against phishing/TOTP snooping and replay over the web”
Comment from 24 Oct 2026 in “Full Disk Encryption on Fedora with TPM2” Handles SSH, sudo and GPG
“there's a better way with far superior UX: derive an SSH key from a FIDO2 slot on the YubiKey”
Comment from 28 Dec 2025 in “Gpg.fail” “Actually now I use my yubikey to authentice so I don't have to type my password for sudo.”
Comment from 10 May 2026 in “Maybe you shouldn't install new software for a bit” “it is a good idea to get a yubikey and use PAM to require a physical user presence check”
Comment from 30 Aug 2026 in “Omarchy: Any User Process Can Escalate to Root” - Comment from 24 Nov 2025 in “Native Secure Enclave backed SSH keys on macOS”
Keep a second as backup
“Once you have a Yubikey (preferably two, so you have a backup if you damage/lose one) - you may as well make _that_ your primary MFA method”
Comment from 19 Jun 2026 in “I found 10k GitHub repositories distributing Trojan malware” “I do nearly all my 2FA with Yubikeys, I carry one with me on my keychain and then I have another one in a safe as a backup.”
Comment from 30 Dec 2025 in “Ask HN: How to do a Personal Cybersecurity audit” “I'm using a Yubikey that is permanently plugged into a USB-C port on my laptop and another one in my dock at home.”
Comment from 12 Oct 2026 in “Passkeys are a trap” - Comment from 23 Nov 2025 in “Native Secure Enclave backed SSH keys on macOS”
What people warn about
Each mark is one comment
Spotty website and app support
“they were "not compatible enough" and in fact, it seemed that sites weren't interested in adding or even maintaining existing support”
Comment from 22 Jul 2026 in “Yubikey 5.8: Verified Authorization for the New Era of Identity and AI” “It was kind of a pain because we had to support some ancient IE versions and Yubikey basically only worked on Chrome at the time”
Comment from 12 Jan 2026 in “The Vietnam government has banned rooted phones from using any banking app” “I only have so many slots on my hardware key. And now sites are moving away from supporting U2F towards a passkey-only model.”
Comment from 18 Sep 2026 in “I don't like passkeys” - Comment from 11 Oct 2026 in “Passkeys are a trap”
No sync; enrolling multiple keys
“their hardware tokens are physically incapable of any kind of sync, so a Yubikey passkey is very quickly a single-point-of-failure”
Comment from 12 Oct 2026 in “Passkeys are a trap” “I like Yubikeys as well but they are super inconvenient by comparison when dealing with multiple devices.”
Comment from 18 Sep 2026 in “I don't like passkeys” “Except enrollability. Got a new account? You need physical access to both tokens to enroll it.”
Comment from 22 Jul 2026 in “Passkeys were invented by engineers with zero understanding of consumer brain” SSH and GPG setup friction
“SSH using GPG Yubikeys and git signing using GPG was quite a process to set up on Windows a few years ago”
Comment from 26 Dec 2025 in “Hardware Touch, Stronger SSH” “almost everyone I know quickly gets sick of touching the yubikey for every git remote operation”
Comment from 26 Dec 2025 in “Hardware Touch, Stronger SSH” “The biggest issue I ran into was when folks wrote some tools that rely on ssh sock auth”
Comment from 27 Dec 2025 in “Hardware Touch, Stronger SSH” New firmware features unusable
“Yubico shipped firmware whose headline features nothing can currently use, is not relevant for existing hardware”
Comment from 21 Jul 2026 in “Yubikey 5.8: Verified Authorization for the New Era of Identity and AI” “nothing new and useful in this at all and nothing they announced is usable for anybody today”
Comment from 21 Jul 2026 in “Yubikey 5.8: Verified Authorization for the New Era of Identity and AI”
What people recommend instead
The same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| YubiKeyThis page | 206 | 62 | 77% | 13 | 7 yrs7 owners | Approved |
| Nitrokey hardware security key | 8 | 0 | 100% | 8 | — | — |
What people said
40 of the 317 comments that mention it, newest first. Each links to the original comment.
“yubikey in the fido/webauthn form protects against phishing/TOTP snooping and replay over the web”
“the user gets to authenticate the use of the secret, but it never leaves the hardware token”
“the device doesn't work against me in such a way it would require installing custom software on it”
“I'm using a Yubikey that is permanently plugged into a USB-C port on my laptop and another one in my dock at home.”
“their hardware tokens are physically incapable of any kind of sync, so a Yubikey passkey is very quickly a single-point-of-failure”
“I use multiple Yubikeys with passkeys and feel better about the auth experience than any other solution thus far.”
“Many websites and apps (especially apps) support passkeys but would prohibit using your Yubikey as a passkey.”
“If mobile banking really wanted to be secure, they would support something like a NFC yubikey for transaction verification.”
“I only have so many slots on my hardware key. And now sites are moving away from supporting U2F towards a passkey-only model.”
“I like Yubikeys as well but they are super inconvenient by comparison when dealing with multiple devices.”
“it is a good idea to get a yubikey and use PAM to require a physical user presence check”
“I'd trust Yubikey RNG mixing into Linux urandom much more than a random hardware wallet developer.”
“People were encouraged to use the later but as soon as the keys were not exportable, phones were acceptable.”
“Except enrollability. Got a new account? You need physical access to both tokens to enroll it.”
“I've had much more luck with onboarding non-technical people into a yubikey vs a password manager.”
“it is truly safer than their physical notebook because they are safe from being tricked into entering their password in the wrong place”
“they were "not compatible enough" and in fact, it seemed that sites weren't interested in adding or even maintaining existing support”
“nothing new and useful in this at all and nothing they announced is usable for anybody today”
“Yubico shipped firmware whose headline features nothing can currently use, is not relevant for existing hardware”
“Once you have a Yubikey (preferably two, so you have a backup if you damage/lose one) - you may as well make _that_ your primary MFA method”
“Physical devices are fairly easy to understand, and a simple on-device PIN or fingerprint-reader adds a 2FA that prevents a lot of fraud.”
“Actually now I use my yubikey to authentice so I don't have to type my password for sudo.”
“lots of folks own Yubikeys or FIDO2 keys - if these became the norm then the price would come down significantly”
“I personally keep a separate YubiKey that—along with a memorized password—is sufficient for me to retrieve my password manager database”
“The challenge to auth happens inside the Yubikey and the secret never leaves the Yubikey.”
“obtaining the largeBlobKey does not require User Presence, which IMHO lowers the essential security guarantees”
“If your 2FA is a proper device, like a Yubikey, the attack surface is tinier than tiny and the device ensures that your secret never leaves the device.”
“the decryption code I'm aware of forces user presence whether or not the Yubikey requires that”
“It was kind of a pain because we had to support some ancient IE versions and Yubikey basically only worked on Chrome at the time”
“I do nearly all my 2FA with Yubikeys, I carry one with me on my keychain and then I have another one in a safe as a backup.”
“there's a better way with far superior UX: derive an SSH key from a FIDO2 slot on the YubiKey”
“The biggest issue I ran into was when folks wrote some tools that rely on ssh sock auth”
“IMO the baseline Security Key ($20) series is now enough, unless your setup uses PGP, legacy SSH that doesn't support these key types”
“almost everyone I know quickly gets sick of touching the yubikey for every git remote operation”
“I bought several "Security Key NFC by Yubico": their cheapest model, no storage or fancy stuff.”
“SSH using GPG Yubikeys and git signing using GPG was quite a process to set up on Windows a few years ago”
“so you can't (as easily) get tricked into entering some TOTP (or email/sms) code into a fraudulent website.”
“with portable devices like Yubikey it's possible to create a master Certify-only GPG key”
“Works pretty nice as well and has the added bonus of your key not being tied to a pice of hardware”
“Your "disaster recovery" should be either a second device with a Secure Enclave, or a Yubikey.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.