initial commit

This commit is contained in:
2024-06-11 19:54:31 +00:00
commit e86e46b85b
4 changed files with 70 additions and 0 deletions

8
totp.py Normal file
View File

@@ -0,0 +1,8 @@
import pyotp
import time
import os
def getTOTP():
totp_key = os.getenv("TOTP_KEY")
totp = pyotp.TOTP(totp_key)
return totp.now()