Enabling YubiKey does not generate a recovery code #3831

Closed
opened 2026-03-07 19:15:08 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @TillMueller on GitHub (Jan 15, 2019).

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). 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)
Author
Owner

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

Good catch!

This should be solved now in c259a0e3e2.

@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!

@TillMueller commented on GitHub (Jan 15, 2019): Awesome, thanks for the quick fix!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#3831