https://github.com/robertklep/supergenpass-cli
CLI wrapper around supergenpass-lib
https://github.com/robertklep/supergenpass-cli
Last synced: 9 months ago
JSON representation
CLI wrapper around supergenpass-lib
- Host: GitHub
- URL: https://github.com/robertklep/supergenpass-cli
- Owner: robertklep
- Created: 2014-10-13T09:49:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-13T12:04:26.000Z (almost 12 years ago)
- Last Synced: 2025-02-15T02:43:08.698Z (over 1 year ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## supergenpass-cli
This is a simple CLI script that wraps [supergenpass-lib](https://github.com/chriszarate/supergenpass-lib) to facilitate generating unique per-domain passwords.
### Install:
Until I publish to the NPM repo (if that ever happens):
```
$ npm install robertklep/supergenpass-cli -g
```
### Usage:
```
$ supergenpass -h
Usage: supergenpass [options]
uri URI to generate a password for.
Options:
-s SECRET, --secret SECRET A secret password to be appended to the master password before generating the password. []
-l LENGTH, --length LENGTH Length of the generated password. Valid lengths are integers between 4 and 24 inclusive. [20]
-m, --md5 Use MD5 method instead of SHA512. [false]
-r, --remove-subdomains Remove subdomains from the hostname before generating the password? [true]
-m PASSWORD, --master-password PASSWORD Master password to use. BE CAREFUL WITH THIS OPTION!
-v, --verify Verify master password (only when prompted). [true]
If no master password is provided with -m/--master-password
or $SGP_MASTER_PASSWORD, you will be prompted for one.
The -s/--secret option could be used to encode a username into
the generated password, so you can register multiple usernames
with one website and get a unique password for each.
```