Skip to content

ron-g/TOTP-Code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TOTP Code generator

This is a work in progress

usage: Totp.py [-h] [-l] [-a APPNAME] [-o ONEOFF]

Output a TOTP code given a base32 string.

options:
  -h, --help            show this help message and exit
  -l, --list            Show the sites configured in the Codes dict.
  -a APPNAME, --appName APPNAME
                        The (comma-separated) Application Name(s) that is/are
                        the key of a record in Codes dict.
  -o ONEOFF, --oneOff ONEOFF
                        Generate a code from this base32, skipping the Codes
                        dict.

-l / --list This shows the items configured in the TotpVars.py file's Codes dictionary, alphabetically.

-o / --oneOff This shows a TOTP code given a secret key.

-a / --appName This will show the TOTP code given a comma-separated list of App Names configured in the TotpVars.py file's Codes dictionary.

Behavior

When using appName or oneOff, the code foreground and an associated countdown bar's background will show with green, yellow, or red color depending on the amount of time left.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages