0.1.4 • Published 7 months ago

crypto_cli_tool v0.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Crypt CLI

A tiny Command Line Interface to quickly set, get and delete data that need to be encrypted.

  • « aes-256-cbc » is used for the cipher and decipher at the moment, gcm or ccm will be available soon
  • « scrypt » is used for hashing keys
  • SQLite stores it locally, you can easily sync it with another machine if you wish

No keys (password + salt hashed) are saved, which means that if you lost or forget your password, you cannot decipher the data you've saved there.

Installation

Usage with npm

npm i -g crypto_cli_tool

From there you can call from your cli the application

ccli --set <string>

Quickstart

Let say you want to save a password using the CLI;

ccli --set passForSomething

You will be prompter a password and a content, the content will be saved under the label(name) "passForSomething". The password will be derived using scrypt with a unique salt, the salt is unique to each track. The key cannot be retrieved without the password.

API

SET

ccli --set <string>

Command: "--set" or "-s"

The label will be the name under which your content will be retrieved for a later usage. You will be prompter the password with which the key will be derived from and the content that needs to be saved and encrypted.

GET

ccli --get <string>

Command: "--get" or "-g"

You will be prompted a password and the content will be returned.

DELETE

ccli --del <string>

Command: "--del" or "-d"

You will be prompted a password, and the content will be deleted from the SQLite database.

Features & Incoming features

  • Basic CRUD Operations
    • track
      • create (set)
      • read (get)
      • update (put)
      • delete (del)
    • user
      • create (set)
      • read (get)
      • update(put)
      • delete
  • Help command
  • Output into a file, under a flag option
  • Output into the clipboard, under a flag option
  • Input path for file path instead of label (and file cipher/decipher) under a flag option
  • Profile mode ("user", with pepper, output default preference, etc)
  • « aes-256-gcm » support under profile preference
  • Easy sync feature
0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

8 months ago

0.1.0

8 months ago