pass
Store encrypted passwords in a local SQLite database
Installation
SQLite
CREATE TABLE IF NOT EXISTS "data" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
"name" TEXT NOT NULL,
"username" TEXT NOT NULL,
"password" TEXT NOT NULL,
"tag" TEXT NOT NULL DEFAULT '',
"created_at" TEXT NOT NULL DEFAULT '',
"updated_at" TEXT NOT NULL DEFAULT ''
);
Crystal
shards install
crystal build src/pass.cr --release
Usage
Add record
./pass --add --name=Gmail [email protected] --password=123ABC --tag=Google
Update a record
./pass --update --id=1 --name=Email [email protected] --password=ABC123 --tag=Gmail
Remove a record
./pass --remove --id=1
Search all records
./pass --search --all
Search by id
./pass --search --id=1
Search by name
./pass --search --name=Email
Search by username
./pass --search [email protected]
Search by tag
./pass --search --tag=Gmail
Contributing
- Fork it (https://github.com/xtokio/pass/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- xtokio - creator and maintainer