pyauth / pyotp

Python One-Time Password Library
https://pyauth.github.io/pyotp/
Other
2.91k stars 319 forks source link

binascii.Error: Non-base32 digit found when using digest parameter for HMAC-SHA-512 #135

Closed jyashi closed 2 years ago

jyashi commented 2 years ago

I am trying to do similar task to this post :

[(https://github.com/pyauth/pyotp/issues/93)]

However I get the following error :

image

The error only happens when I add a 0 to my secret key.

Thank you.

jyashi commented 2 years ago

https://github.com/pyauth/pyotp/issues/26#issuecomment-267055456 resolved it.

yadavsairaj commented 1 year ago

Hey how did you do it?