2FAGuard icon indicating copy to clipboard operation
2FAGuard copied to clipboard

🚀 Feature: yandex totp support (sha256, 8 digits token)

Open uyriq opened this issue 1 year ago • 4 comments

What is your idea?

https://community.bitwarden.com/t/yandex-totp/58990 it should be great feature to accept yandex key codes too

uyriq avatar Dec 08 '24 17:12 uyriq

The app already supports sha256 and 8 digits token. Or does the token generated by Yandex contain letters? Yandex says on this website:

You can use apps other than Yandex Key to generate a one-time password. Install any two-factor authentication app that supports the TOTP RFC algorithm.

If the information on their website is correct, it should work.

timokoessler avatar Dec 08 '24 20:12 timokoessler

The "Yandex Key app" does two things, it tries to be something like "Microsoft Auth app and supports a keyring with entries for the user's TOTP and supports both 6 and 8 digits in tokens. And yandex also uses a proprietary TOTP format for its ecosystem i.e. https://360.yandex.com and https://yandex.cloud/en the proprietary token is 8 letters long. there is a bit about this in the link above on forum bitwarden. here is a screenshot from the yandex key app.

picture margin
imageYandexSrv margin

uyriq avatar Dec 08 '24 21:12 uyriq

Okay, thanks. So basically a similar issue like with Steam (#6). Can't promise when I have time to implement this.

timokoessler avatar Dec 10 '24 17:12 timokoessler

If I find a spec or working example of how Yandex generates its TOTPs, I'll certainly come back and share it.

uyriq avatar Dec 10 '24 20:12 uyriq