Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binascii.Error: Non-base32 digit found #155

Closed
Denkneb opened this issue Oct 5, 2023 · 2 comments
Closed

binascii.Error: Non-base32 digit found #155

Denkneb opened this issue Oct 5, 2023 · 2 comments

Comments

@Denkneb
Copy link

Denkneb commented Oct 5, 2023

2023-10-05_11-55

@Denkneb
Copy link
Author

Denkneb commented Oct 5, 2023

base64.b32decode does not accept numbers not in the range 2-7, it is 0, 1, 8, 9
https://en.wikipedia.org/wiki/Base32

@kislyuk
Copy link
Member

kislyuk commented Oct 5, 2023

Thanks for your interest in PyOTP. Please see this section of the documentation for examples of generating OTP secrets: https://pyauth.github.io/pyotp/#generating-a-secret-key

This report does not appear to be describing a bug, so I'm going to close it.

@kislyuk kislyuk closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants