r/yubikey • u/Vast_Country_5200 • 15h ago
I got 99passwords, but a breach ain't one.
galleryThe 1Password breach just annoyed me. Even if vaults stay encrypted, why does a copy of my stuff sit on someone's servers waiting to get cracked years from now?
So I messed around with putting my whole vault on my YubiKey instead.
Turns out a YubiKey 5 has enough room in its PIV memory for an encrypted vault, and you can still use the key as normal without wiping any of your other stuff (FIDO2, passkeys, OTP all keep working). So there's no vault file in the cloud or on my Mac's disk. If the key isn't plugged in, the data just isn't there.
Unlocking needs a master password plus touching the key, and the YubiKey locks itself after 255 wrong tries so nobody can brute-force it offline. You can also clone your vault to as many YubiKeys as you want for backup.
I built a Rust core, a Swift menu bar app, and a minimal Chrome extension so I could actually use it daily.
Still an experiment (macOS 14+, YubiKey 5, unsigned app, takes over the PIV slot), and I'm really happy with how it turned out.
The code and full crypto spec are up on GitHub if you want to try it or check out how it works: https://github.com/bramsoffchains/99p