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

Switch from pyotp to secrets for generating backup 2FA tokens #1594

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

fluix-dev
Copy link
Contributor

pyotp recently released a new version1 which changes the minimum
length of base32 secret generation to 32 characters.

judge/models/profile.py Outdated Show resolved Hide resolved
judge/models/profile.py Outdated Show resolved Hide resolved
pyotp recently released a new version[1] which changes the minimum
length of base32 secret generation to 32 characters.

[1]: https://github.com/pyauth/pyotp/releases/tag/v2.6.0
@Xyene Xyene merged commit c2573f5 into DMOJ:master Feb 12, 2021
@Xyene
Copy link
Member

Xyene commented Feb 12, 2021

Thanks!

@fluix-dev fluix-dev deleted the fix-otp-gen branch February 12, 2021 07:05
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

Successfully merging this pull request may close these issues.

3 participants