Skip to content

xtokio/pass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Store encrypted passwords in a local SQLite database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published