Giter Club home page Giter Club logo

crypt_cli_ts's Introduction

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

crypt_cli_ts's People

Contributors

otma2677 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.