Repository navigation
Always require yubikey? #7947
|
Hello, I've been a keepass user for decades now. Every now and then I consider switching to VW but there is always something holding me back... yubikeys. Is there a way to require my yubikey to unlock the vault and not just on initial login? The only way I have found in the past is to set logout on lock but that removes the ability to view your vault without being connected back to the server to login again. Requiring the yubikey only on initial login kinda defeats the purpose for me. The option to open the vault with only the master password just isn't enough for me. My keepass setup has my DB on a selfhosted webdav/cloud and my devices all have a local copy. Every unlock of the database requires my password + yubikey. Webdav is down? No problem I have local copies. I would like to reach that same functionality. Is that a thing yet? Edit: I found this and it seems like it's the direction I want but still allows password only vault decryption. |
Replies: 2 comments
|
Not today, and it's a limit of the Bitwarden clients rather than Vaultwarden. Unlocking is done on the device: the client derives the key from your master password (or uses a PIN or biometrics) and never asks the server. Two-step login, YubiKey included, is only checked when you log in (Bitwarden's log in vs unlock page). There's no slot for a second factor in the unlock step the way KeePassXC's challenge-response works. So the options are the two you found:
#7784 doesn't change that. It adds passkey unlock with WebAuthn PRF, so a YubiKey could unlock the vault, but the PR says password unlock stays available. It's another way in, not a required one. I haven't tested #7784 myself, this is from the client docs and the PR description. |
|
Thank you for the quick reply and confirming my suspicions. I guess I'll check again in a couple years to see if upstream BW ever adds this. :) |
Not today, and it's a limit of the Bitwarden clients rather than Vaultwarden. Unlocking is done on the device: the client derives the key from your master password (or uses a PIN or biometrics) and never asks the server. Two-step login, YubiKey included, is only checked when you log in (Bitwarden's log in vs unlock page). There's no slot for a second factor in the unlock step the way KeePassXC's challenge-response works.
So the options are the two you found:
#7784 doesn't change that. It adds pa…