pxx

a cli tool to store encrypted values in a json file and easily get them out again

Stars
39

SYNOPSIS

Store encrypted values in a json file.

USAGE

npm install pxx -g

LIST ALL ITEMS

Provides a nice ascii table that shows the meta data for the contents of the database.

pxx
┌─────────────────┬─────────────┬──────────────────┐
│ Key             │ Description │ Email            │
├─────────────────┼─────────────┼──────────────────┤
│ foobar          │ whatever    │ [email protected]├─────────────────┼─────────────┼──────────────────┤
│ instagram       │ foobar      │ [email protected]├─────────────────┼─────────────┼──────────────────┤
│ rd.io           │ music       │ [email protected]├─────────────────┼─────────────┼──────────────────┤
│ reddit          │ crap        │ [email protected]├─────────────────┼─────────────┼──────────────────┤
│ speakerdeck.com │ slides      │ [email protected]├─────────────────┼─────────────┼──────────────────┤
│ typography.com  │ pretty      │ [email protected]└─────────────────┴─────────────┴──────────────────┘

READ AN ITEM

Prompts you for the master password and then provides the decrypted data.

pxx <key>

CREATE AN ITEM

Asks a series of questions about what you want to save to the database.

pxx --create

DELETE AN ITEM

Completely remove an item from the database.

pxx --delete <key>

UPDATE AN ITEM

To do... something like...

pxx --update <key>

CONFIG

Create an rc file that points to a sync'd directory. The columns array represents arbitrary fields that will be stored with the encrypted data. They can help you describe the data and are displayed when listing the contents of the database.

{
  "syncdir": "/Users/username/Google Drive/pxx",
  "algorithm": "aes-256-ctr",
  "columns": ["Key", "Description", "Email"]
}