paswo
v1.0.2
Published
CLI utility that generates, hashes, and stores passwords
Downloads
1
Maintainers
Readme
Paswo
Paswo is a Vorpal command line application that can generate, hash, and manage passwords.
I made this to practice Javascript/Node.js and learn a bit about SQL.
Disclaimer: Paswo has only been tested on Mac OS X.
Please feel free to leave any suggestions or report any bugs.
Thanks!
Install
npm install -g paswo
Usage
Paswo Commands
Type paswo
into your command line.
Generate a random pasword:
You can specify the length and use the flag -s or --special to include special characters in the password.
paswo: create
paswo: create [length] -s
Hash a string with the chosen hashing algorithm:
paswo: hash
Open database:
The db
command will switch to paswo-db
and connect to your database where you can access your passwords.
paswo: db
Create a master key:
If the database file does not exist, using db
will ask you to create a new master key for your database and create the database file.
Use master key to open your database:
If the database file does exist, using db
will ask for your master key to connect to your database.
Database Commands
After you successfully open your database, you have access to your stored passwords.
Change master key:
paswo-db: change master key
Add password for a specific website:
paswo-db: add <website>
View websites you have added passwords for:
paswo-db: ls
Get the password for a specific website:
paswo-db: get <website>
Update the password for a specific website:
paswo-db: update <website>
Delete the password for a specific website:
paswo-db: delete <website>
Close database and exit paswo-db:
paswo-db: exit
License
MIT