0.6.0 • Published 6 years ago

twofa v0.6.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

twofa

Two Factor Authentication Generator for CLI

npm version Build Status AppVeyor Coverage Status

Install

$ npm install -g twofa

Usage

$ 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

Commands

add service-name --image=qrcode

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

del service-name

Delete a registered service

$ twofa del github

gen service-name

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

qrcode service-name

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...