Two Factor Authentication Generator for CLI
$ npm install -g twofa
$ twofa --help
Usage: twofa [options] [command]
Options:
-h, --help output usage information
Commands:
add [options] <service> Add a new service to generate authentication code
del <service> Delete a service registered
gen [service] Generate authentication code
qrcode <service> Generate qrcode from a service
Register a new service using a screencapture or pass optionaly a image path
$ twofa add github # use the mouse to capture a qrcode area
Or
$ twofa add github --image githubqrcode.png
Delete a registered service
$ twofa del github
Generate the Authentication code from a service
$ twofa gen github // the code goes to your clipboard
Or generate a list of registered codes omitting the service-name
$ twofa gen
Generate a qrcode from a service. This can be helpful to register the same qrcode in another application for generate authentication codes
$ twofa qrcode github
Thats it...