r/yubikey • u/Joedirty18 • 20h ago
Help Why doesn't a backup code counteract the security a yubikey gives?
I recently tried setting up a yubikey for the first time and to test it out I tried my twitter account first. One thing that stood out to me was the backup code being both shorter and honestly simpler than most passwords I otherwise use. Doesn't this make the yubikey pointless for just about anything other than man in the middle attacks or phishing? In some ways id think it makes it even less secure purely do to the code being easier to guess than my password?
0
Upvotes
4
u/djasonpenney 20h ago
> shorter and honestly simpler
One might conversely argue that the passwords you’re using are unnecessarily complex. That is a discussion for r/passwords.
> other than man in the middle attacks
For many sites such as Google or Dropbox, you must have a password AS WELL AS passing a 2FA check via the Yubikey. It’s not an either-or. And don’t dismiss the value of deflecting MITM threats.
> even less secure
You’re thinking in absolute terms. The point behind passwords or any other sort of authentication is to force an attacker to use some other means, such as a wrench attack instead.
7
u/kevinds 20h ago
Because they are only used once and they are stored very safely.
1
u/ucyd 20h ago
Backup codes serve 2 reasons:
They need to be used with the password too, they arent a single form of login.
I would prefer all backup codes to be a list of 10 eff words achieving 128 bits of entropy, but thats the site concern.
A strong password manager solves pretty much all of the concerns that a yubikey gives you.
A yubikey gives you two things that a password manager does not:
1
u/MegamanEXE2013 20h ago
Nope, because the code is only for you, not for everyone, and is a one time use code, so if you use it, that same number won’t work for anyone else
It works like that as to avoid account lockout, and give thanks it does work like that
0
u/Anxious-Sea-1746 20h ago
phishing and domain spoofing are in fairness the 2 biggest security issues for yubikeys to fix
and yeah, no point strong front door if you have crap backdoor (backup code) can you not remove/delete them?