TOTP tooling!
Go to file
Christine Dodrill 4bec75a3b6 add when isMainModule 2016-01-28 14:00:42 -08:00
cmds gen -> newSecret 2015-09-21 16:59:40 -07:00
.gitignore basic functionality 2015-09-14 19:10:07 -07:00
LICENSE basic functionality 2015-09-14 19:10:07 -07:00
README.md Add README 2015-09-14 19:55:08 -07:00
totpdmenu Add totpdmenu script 2015-09-14 23:53:29 -07:00
totptool.nim add when isMainModule 2016-01-28 14:00:42 -08:00
totptool.nimble Use nimscript nimble 2016-01-19 22:58:32 -08:00

README.md

totptool

Tooling for generating and managing large numbers of TOTP secrets.

$ totptool
Usage: totptool [options] <command> [args]

Options:
    -h --help       Show this screen
    -r --root:path  Use path as the totp root for secrets
    -v --version    Show version of totptool

Subcommands:
    code <name>
                    Generate a two-factor auth code for <name>

    gen <name>
                    Generate a new two-factor auth secret for
                    <name>

    ls
                    List all the names of the secrets that
                    totptool tracks

Because I wrote this for me and I can say whatever I want as the arbitrary demands, I have it storing all TOTP secrets in my common synced folder ~/life. Edit the code or use --root to change this.

Lifecycle

totptool gen <name> -> totptool code <name>

$ totptool code $(totptool ls | dmenu) | xclip -sel clip