doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
573 stars 82 forks source link

TOTP with different algorithm not supported #171

Closed jonas-w closed 1 month ago

jonas-w commented 2 months ago

Kanidm uses the following otpauth URLs for TOTP otpauth://totp/Kanidm%20DOMAIN:user?secret=JBSWY3DPEHPK3PXP&issuer=Kanidm%20DOMAIN&algorithm=SHA256&digits=6&period=30.

It sets the algorithm to SHA256 which per default is SHA1, but can also be SHA512 according to 1