Skip to content
/ totp-tool Public
forked from jvogt/totp-tool

A python tool to get totp keys from your command line. Keys are stored in an encrypted json file. Tool supports encryption / decryption of totp keys.

Notifications You must be signed in to change notification settings

qub/totp-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

totp-tool

A python tool to generate 2fa codes from your command line. Keys are stored in an encrypted json file. Tool supports encryption / decryption of totp keys.

Usage:

Install dependencies

sudo easy_install pyotp pycrypto

Create encrypted JSON file (use totp.json.example as an example of json format)

./totp.py encrypt infile [outfile]  (default is totp.json.enc)

Decrypt json file:

./totp.py decrypt infile [outfile] (default is to print to stdout)

Generate 2fa codes:

./totp.py list

TIP: Edit and place the included wrapper example file into a directory in your path to facilitate easier usage from any terminal window.

About

A python tool to get totp keys from your command line. Keys are stored in an encrypted json file. Tool supports encryption / decryption of totp keys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.1%
  • Shell 3.9%