Skip to content
/ 2fa Public

A CLI replacement for Google Authenticator

Notifications You must be signed in to change notification settings

gpaddis/2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

2fa

Usage

To encrypt a secret:

./2fa add testing john@example.com my-random-2fa-secret-string

The encrypted 2fa secret was saved in ~/.2fa/testing.

To decrypt a secret:

./2fa code testing

2fa code (testing): 123456

The 2fa code is printed on screen.

Inspiration

2fa tutorial: https://etherarp.net/google-authenticator-without-a-phone/

About

A CLI replacement for Google Authenticator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages