Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
/ twofa Public archive
forked from nils-werner/twofa

A simple command-line 2-factor authentication token manager

License

Notifications You must be signed in to change notification settings

pepa65/twofa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twofa

Version 0.28

Manage a two-factor authentication store on the commandline

Requirements

dev
setuptools
cryptography

Either python2.7 or python3 work, install the corresponding packages first: python-dev python-setuptools python-cryptography or python3-dev python3-setuptools python3-cryptography.

Installation

git clone https://gitlab.com/pepa65/twofa
cd twofa
python setup.py build
sudo python setup.py install

Usage

Display all tokens

twofa [show]

Display tokens whose labels match regex pattern

twofa show 'Regex'

Add secret to store

twofa add 'Label name' 'Secret'

Remove secret

twofa remove [--confirm] 'Label name'

The --confirm option will force the removal.

Rename the label of a secret in store

twofa rename 'Label name' 'New name'

Set password

twofa password

You will be asked to enter a new password. If you leave this password empty, the data will be stored unencrypted.

Display secret

twofa secret 'Label name'

Display QR code for secret

twofa qr 'Label name'

Better visibility with a light terminal theme:

twofa qr [--invert|-i] 'Label name'

About

A simple command-line 2-factor authentication token manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%