[GH-ISSUE #342] Enabling YubiKey does not generate a recovery code #192

Closed
opened 2026-03-03 01:26:30 +03:00 by kerem · 2 comments
Owner

Originally created by @TillMueller on GitHub (Jan 15, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/342

First of all - thanks a lot for the work you have done here! Overall, this software works very nicely and I am very happy to have found it!

While configuring my account however I came across the issue that when enabling a YubiKey as the only 2FA method, the recovery key is not generated (see first screenshot) and can therefore not be used.
After enabling the authenticator 2FA method however, the recovery key appears (see second screenshot)
This isn't too much of a problem but I guess it is an easy fix and maybe some users might get confused as to why there is no recovery key available.

Thanks a lot for taking a look at this issue!

image

image

Originally created by @TillMueller on GitHub (Jan 15, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/342 First of all - thanks a lot for the work you have done here! Overall, this software works very nicely and I am very happy to have found it! While configuring my account however I came across the issue that when enabling a YubiKey as the only 2FA method, the recovery key is not generated (see first screenshot) and can therefore not be used. After enabling the authenticator 2FA method however, the recovery key appears (see second screenshot) This isn't too much of a problem but I guess it is an easy fix and maybe some users might get confused as to why there is no recovery key available. Thanks a lot for taking a look at this issue! ![image](https://user-images.githubusercontent.com/20823337/51206821-5ac87f00-1909-11e9-9aa8-c99e5b727862.png) ![image](https://user-images.githubusercontent.com/20823337/51206692-fefdf600-1908-11e9-925f-99394f71037f.png)
kerem closed this issue 2026-03-03 01:26:31 +03:00
Author
Owner

@dani-garcia commented on GitHub (Jan 15, 2019):

Good catch!

This should be solved now in github.com/dani-garcia/bitwarden_rs@c259a0e3e2.

<!-- gh-comment-id:454543968 --> @dani-garcia commented on GitHub (Jan 15, 2019): Good catch! This should be solved now in https://github.com/dani-garcia/bitwarden_rs/commit/c259a0e3e23800347ed90b4a192b44798c3513fb.
Author
Owner

@TillMueller commented on GitHub (Jan 15, 2019):

Awesome, thanks for the quick fix!

<!-- gh-comment-id:454544500 --> @TillMueller commented on GitHub (Jan 15, 2019): Awesome, thanks for the quick fix!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#192
No description provided.