Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
authenticator-cli
Advanced tools
Readme
| 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 node.js 4.0+:
curl -L bit.ly/iojs-min | bash
Install authenticator:
npm install --global authenticator-cli
authenticator --help
You may also be interested in
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
FAQs
A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, TOTP / 2FA / MFA / OTP, etc)
The npm package authenticator-cli receives a total of 26,338 weekly downloads. As such, authenticator-cli popularity was classified as popular.
We found that authenticator-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.