Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afb0eab0a3 | ||
|
|
b35b16d403 | ||
|
|
f7532d7f8c | ||
|
|
dfb35b9810 | ||
| 24de3b0ec8 | |||
|
|
c8283c3bec | ||
|
|
522571b367 | ||
|
|
9a7f82b654 | ||
|
|
9b1ee7a26b | ||
|
|
52050f5ff0 | ||
|
|
6b58576169 | ||
|
|
7bcefc7f1b | ||
|
|
45d9368fec | ||
|
|
b261f1754a | ||
|
|
03e01665e2 | ||
|
|
55394bcb47 | ||
|
|
8b503a79af | ||
|
|
843569d62d | ||
|
|
49678fbfd5 |
31
README.md
31
README.md
@ -1,11 +1,23 @@
|
|||||||
# authenticator-cli
|
# Commandline Authenticator
|
||||||
|
|
||||||
|
| Sponsored by [ppl](https://ppl.family)
|
||||||
|
|
||||||
A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, Facebook Authenticator, TOTP, etc)
|
A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, Facebook Authenticator, TOTP, etc)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
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+**:
|
**Install node.js 4.0+**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -L https://bit.ly/iojs-min | bash
|
curl -L bit.ly/iojs-min | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
**Install authenticator**:
|
**Install authenticator**:
|
||||||
@ -13,6 +25,21 @@ curl -L https://bit.ly/iojs-min | bash
|
|||||||
npm install --global authenticator-cli
|
npm install --global authenticator-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
authenticator --help
|
||||||
|
```
|
||||||
|
|
||||||
|
## Browser & Node Authenticator
|
||||||
|
|
||||||
|
You may also be interested in
|
||||||
|
|
||||||
|
* [Browser Authenticator](https://git.coolaj86.com/coolaj86/browser-authenticator.js) over at <https://git.coolaj86.com/coolaj86/browser-authenticator.js>
|
||||||
|
* [Node.js Authenticator](https://git.coolaj86.com/coolaj86/node-authenticator.js) over at <https://git.coolaj86.com/coolaj86/node-authenticator.js>
|
||||||
|
|
||||||
|
## Full Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage:
|
Usage:
|
||||||
authenticator [OPTIONS]
|
authenticator [OPTIONS]
|
||||||
|
|||||||
19
package.json
19
package.json
@ -1,19 +1,24 @@
|
|||||||
{
|
{
|
||||||
"name": "authenticator-cli",
|
"name": "authenticator-cli",
|
||||||
"version": "1.0.0",
|
"version": "1.0.5",
|
||||||
"description": "A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, TOTP / 2FA / MFA / OTP, etc)",
|
"description": "A commandline Authenticator App (for Authy, Google Authenticator, Microsoft Authenticator, TOTP / 2FA / MFA / OTP, etc)",
|
||||||
|
"homepage": "https://git.coolaj86.com/coolaj86/authenticator-cli.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"authenticator-cli": "authenticator.js"
|
"authenticator": "bin/authenticator.js"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"authenticator": "^1.1.0",
|
||||||
|
"cli": "^1.0.1",
|
||||||
|
"qrcode-terminal": "^0.12.0"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node bin/authenticator.js"
|
"test": "node bin/authenticator.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/Daplie/authenticator-cli.git"
|
"url": "git+https://git.coolaj86.com/coolaj86/authenticator-cli.js.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Authenticator",
|
"Authenticator",
|
||||||
@ -26,6 +31,7 @@
|
|||||||
"microsoft",
|
"microsoft",
|
||||||
"facebook",
|
"facebook",
|
||||||
"daplie",
|
"daplie",
|
||||||
|
"ppl",
|
||||||
"totp",
|
"totp",
|
||||||
"2fa",
|
"2fa",
|
||||||
"mfa",
|
"mfa",
|
||||||
@ -36,7 +42,6 @@
|
|||||||
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
"author": "AJ ONeal <coolaj86@gmail.com> (https://coolaj86.com/)",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Daplie/authenticator-cli/issues"
|
"url": "https://git.coolaj86.com/coolaj86/authenticator-cli.js/issues"
|
||||||
},
|
}
|
||||||
"homepage": "https://github.com/Daplie/authenticator-cli#readme"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user