Re:Ask HN: How many 2FA tokens do you have?
by edent on Saturday March 05, 2022 @07:17AM
(#30566853)
How do you sync the Yubikeys if they're in different locations?
Like, if you're at work and sign up to a new service - how do the other two get associated?
Sorry if that's an obvious question.
Re:Ask HN: How many 2FA tokens do you have?
by smoyer on Saturday March 05, 2022 @07:31AM
(#30566950)
I do rotate which key is off-site. For the "critical sites" this means I've only got two keys registered for some period of time. I don't use the TOTP on the Yubikeys for most sites so signing up for a new service involves generating a new TOTP key with oathtool and saving that in password-store (along with the URL and login name) when I generate the password.
Re:Ask HN: How many 2FA tokens do you have?
by kdtsh on Saturday March 05, 2022 @07:55AM
(#30567133)
This sounds like a neat arrangement. How do you go about this when you’re on the go? - do you have an app on your phone which support unlocking your password-store using a smart card, or do you just not manage passwords/MFA except on your computer?
Re:Ask HN: How many 2FA tokens do you have?
by smoyer on Saturday March 05, 2022 @04:17PM
(#30571975)
Each of my phones has its own private key and can decrypt the stored passwords. Having a private key protected only by a six number passcode is obviously a weak point in my security. Since password-store is encrypting each password with seven or eight public keys, it's relatively easy to revoke a compromised key and to re-encrypt all passwords/TOTP keys (excluding the compromised key).
I mostly generate passwords and add entries to my password manager from a computer but I've got all the required public keys on each device so it's theoretically possible to manipulate the password-store from a phone or tablet as well.
Password-store features git push and pull so I keep my encrypted passwords and TOTP keys on a couple remote Git servers. Because I use passwords that I don't know for every service, the Yubikeys are really more about being a safe way to back-up and transport my encryption key. If I've got that, I can always decrypt my passwords.