Skip to content
/ totp-cli Public

πŸ” A CLI tool to generate Time-Based One Time Passwords (TOTP) based on securely stored secrets.

License

Notifications You must be signed in to change notification settings

candh/totp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

totp-cli

A simple utility to help store secrets in keyring and generate TOTPs based on those secrets. Read here

Basically does what the Google Authenticator app does on the phone. Except you look much cooler and also helpful when you don't have your phone.

asciicast

Installation

pip3 install totp-cli

Usage

Get secrets from 2FA settings page of the website that you're trying to add.

Choose any of these options

$ totp [add, show, get, help]

and then follow instructions.

Security

All the secrets are stored in system keyring so they remain safe. Information like name, issuer and email are stored in plaintext locally. Name is used for look up in the keyring. Email and Issuer are only there to help you distinguish.

Notes

Tested with facebook, twitter & bitbucket. Tested only on MacOS. Should work on other platforms too..

About

πŸ” A CLI tool to generate Time-Based One Time Passwords (TOTP) based on securely stored secrets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages