A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, TOTP, etc)
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
AJ ONeal afb0eab0a3 v1.0.5 6 лет назад
bin initial commit 8 лет назад
.gitignore Initial commit 8 лет назад
LICENSE Initial commit 8 лет назад
README.md rebrand 6 лет назад
index.js expose authenticator 8 лет назад
package.json v1.0.5 6 лет назад

README.md

Commandline Authenticator

| Sponsored by ppl

A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, Facebook Authenticator, TOTP, etc)

authenticator --generate --issuer "ACME" --account "user@example.com"

Key: ru36 53z3 fmh4 d67u kgeh 7rgj hcbb ypnd
Token: 947464
URL: otpauth://totp/ACME:user@example.com?secret=RU3653Z3FMH4D67UKGEH7RGJHCBBYPND&issuer=ACME&algorithm=SHA1&digits=6&period=30

Install

Install node.js 4.0+:

curl -L bit.ly/iojs-min | bash

Install authenticator:

npm install --global authenticator-cli

Usage

authenticator --help

Browser & Node Authenticator

You may also be interested in

Full Usage

Usage:
  authenticator [OPTIONS]

Options:
      --account user@example.com    Account Name, typically email address (Default is user@example.com)

      --algo SHA1                   Algorithm, typically SHA1 (also SHA256, SHA512)  (Default is SHA1)

      --digits 6                    Number of digits, typically 6 (also 8) (Default is 6)

      --generate                    Create a cryptographically-random TOTP key
                                    formatted in base32 with spaces.  (Default is true)

      --issuer ACME                 Issuer, typically the company name (Google,
                                    Facebook, Digital Ocean, etc)  (Default is ACME)

      --key 'xxxx xxxx ...'         Supply the base32 key yourself (with or without
                                    delimeters). Takes precedence over --generate

      --period 30                   Number of seconds between tokens, typically 30  (Default is 30)

      --qr                          Print the QR Code to the Terminal.

      --verify '123 456'            Verify a token. Must be used with --key.

  -h, --help                        Display help and usage details