add otp gen script
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
env/*
|
||||
6
generate_totp.py
Normal file
6
generate_totp.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import pyotp
|
||||
import sys
|
||||
|
||||
seed = sys.argv[1]
|
||||
totp = pyotp.TOTP(seed)
|
||||
print(totp.now())
|
||||
Reference in New Issue
Block a user