Created
October 23, 2015 12:28
-
-
Save egidijus/9d441872a344858e78b8 to your computer and use it in GitHub Desktop.
google authenticator python script. prints your one time auth code to stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import onetimepass as otp | |
my_secret = 'YOURGOOGLEAUTHSECRET' | |
my_token = otp.get_totp(my_secret) | |
print(my_token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment