Skip to content

A simple command-line 2-factor authentication token manager

License

Notifications You must be signed in to change notification settings

nils-werner/twofa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twofa

A command-line 2-factor authentication manager.

Installation

pip install twofa

Usage

Print Token

2fa

Add secret

2fa add 'Service Name' 'Secret'

Delete secret

2fa rm --confirm 'Service Name'

Rename Service

2fa rename 'Service Name' 'New Name'

Encrypt store

2fa passwd

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

Print QR code

2fa qr 'Service Name'

if you are using a light terminal theme:

2fa qr --invert 'Service Name'

Bash autocomplete

We are using Click bash integration, which means you only need to add

eval "$(_2FA_COMPLETE=source 2fa)"

to your ~/.bashrc to get autocompletion.

About

A simple command-line 2-factor authentication token manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages