pass

Store encrypted passwords in a local SQLite database

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 --username=pass_store@gmail.com --password=123ABC --tag=Google

Update a record

./pass --update --id=1 --name=Email --username=pass@gmail.com --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 --username=pass@gmail.com

Search by tag

./pass --search --tag=Gmail

Contributing

  1. Fork it (https://github.com/xtokio/pass/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • xtokio - creator and maintainer
Repository

pass

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 2
  • over 1 year ago
  • May 29, 2023
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 02:39:03 GMT

Languages