pyauth/pyotp
View on GitHub ↗ ★ 3,346 Python
Python One-Time Password Library
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2019-08-25 · latest 2023-05-26
20082026
-
…your own, TOTP is not complicated. Here's a Python library that does the heavy lifting for you: https://github.com/pyauth/pyotp .
comment by BoppreH · 2023-05-26 · in PyPI will require 2FA by the end of 2023 -
You can also roll your own with https://github.com/pyauth/pyotp
comment by jcims · 2021-08-27 · in How does Google Authenticator work? -
…security, not proof of being a good human user. TOTP is a very simple algorithm (python impl: https://github.com/pyauth/pyotp ) that can be easily automated. After all, your phone telling you the code to type in has automated it.
comment by snek · 2019-08-25 · in Guess I'm Done with Discord -
…or not an account is legitimate. It is very trivial to automate setting up 2fa on an account. https://github.com/pyauth/pyotp can be used to both generate and validate 2fa codes. It'd be trivial to hook that up to the registration flow to…
comment by jhgg · 2019-08-25 · in Guess I'm Done with Discord