add otp gen script
This commit is contained in:
commit
07970e4b54
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())
|
Loading…
x
Reference in New Issue
Block a user