AChep / keyguard-app

Keyguard is an alternative client for the Bitwarden® platform, created to provide the best user experience possible.
https://play.google.com/store/apps/details?id=com.artemchep.keyguard
Other
1.07k stars 32 forks source link

[Feature] Support adding two factor by scan QR code. #556

Open cesaryuan opened 2 weeks ago

cesaryuan commented 2 weeks ago

First of all, thank you very much for open sourcing such an excellent project, which greatly improves the Bitwarden experience on the mobile side. I would like to make a small suggestion:

Support adding two factor by scan qr code. Currently, if you want to add two-factor verification entries, you can only fill them in manually, and scanning QR codes is not supported, which is somewhat inconvenient. Because the QR code actually contains a lot of additional information, such as issuer, secret, and account. Taking Bitwarnden’s two-factor QR code as an example, the information he provides is as follows:

otpauth://totp/Bitwarden:testemail%40test.com?secret=xxxxxxxxx&issuer=Bitwarden

This information can be used to assist in filling in the information.

Finally, thank you again for your excellent work.

AChep commented 2 weeks ago

Hmm. On Android there should be an icon right on the Authenticator key field which should open the scan QR code screen.

ResizedImage_2024-08-28_05-32-22_2169.png

cesaryuan commented 2 weeks ago

Thanks for such a quick reply, I found this place, it's nice. But there is one little problem: Unable to extract username and issue information contained in url scheme. I think we can prefill these information to Name and Username field.

AChep commented 2 weeks ago

Thanks for such a quick reply, I found this place, it's nice. But there is one little problem: Unable to extract username and issue information contained in url scheme. I think we can prefill these information to Name and Username field.

Cool idea!

SleepInfinity commented 2 weeks ago

also it would be great if we can also import the exported totps from google authenticator or other apps as google authenticator doesnt gives you the keys for each totp but instead gives you a huge qr code that you can scan to import the keys, also i looked into the binary data of that qr code but couldn't decode the keys i can only see the issuer name when i decode the string from base64.