Skip to content

phillipbarron/2fa-cli-util

Repository files navigation

Generate a login code based on a one time password key

copies current 2fa code to the clipboard

usage

    acode [Options] 
    Options:
        -a Add key
        -k [Key name] get code for named key
        -r [Key name] Remove named key
  • install globally
 yarn global add 2fa-cli-util

or

npm i -g 2fa-cli-util

run from terminal (this should now be available system-wide)

acode

todo

  • allow fetching / synchronisation of keys from secret manager or similar
  • Integrate import script to tool [PARTIALLY COMPLETE]
  • Add checks for import (ie, is there existing config) and merge options.

need to extract existing keys from Google auth?

try this

The is an import script here which can map from the exported format to that required by this tool. Run from the command line with yarn run import and then provide the path the exported file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published