tadfisher / pass-otp

A pass extension for managing one-time-password (OTP) tokens
GNU General Public License v3.0
1.28k stars 85 forks source link

yandex yaotp support #140

Closed 532910 closed 2 years ago

532910 commented 3 years ago

Could you add yaotp method please.

https://github.com/norblik/KeeYaOtp https://play.google.com/store/apps/details?id=ru.yandex.key

tadfisher commented 2 years ago

It looks like Yandex is a standard TOTP mechanism with the following parameters:

Formatting the otpauth:// URL as the following should work:

otpauth://totp?<account>@yandex.ru?secret=<secret>&digits=8&algorithm=sha256

Feel free to reopen if this doesn't solve the issue.

532910 commented 2 years ago

yaotp is not a function of time (only) but on pin code also.