Skip to main content

Cenotes command line application and libraries

Project description

https://travis-ci.org/cenotes/cenotes-cli.svg?branch=master

C(ryptographical) E(xpendable) Notes

Command Line Interface

What is this?

This is a cli project to support encryption/decryption of expendable notes

What this isn’t

UI/Frontend/Backend. This is a cli project. Frontend and backend solutions are different projects. The reason for this is to allow flexibility in frontend / backend choice and to avoid huge bundle projects.

  • A backend project that uses these libraries can be found here
  • A frontend project that communicates with the backend can be found here

Features

  • Symmetric encryption of notes using the pynacl project
  • Local encryption & decryption of a note
  • Support to store a note to a cenotes server instance
  • Support to fetch a note from a cenotes server instance
  • Support for custom cenotes server url

How does this work?

See design

How to run

You will need python >= 3.3

  1. Cloning the repo
  • Clone the repo
    • git clone https://github.com/cenotes/cenotes-cli.git
  • Install the requirements with pipenv
    • pip install pipenv
    • pipenv install
  • Set your PYTHONPATH to include the project
    • For linux: export PYTHONPATH=<path-to-the-cloned-repo>:$PYTHONPATH
  • See available options
    • python cenotes_cli/cli.py --help
  1. Installing the python package
  • Ideally inside a virtualenv
    • pip install cenotes-cli
  • See available options
    • cenotes-cli --help

History

0.5.0 (2017-12-20)

  • Add support to upload a note to a cenotes instance
  • Add support to download a note from a cenotes instance
  • Add support to define custom cenotes instance url
  • Extract actions to different modules (crypto/remote)
  • Add dependency for requests & dateutil

0.4.0 (2017-12-01)

  • Remove internal cenotes-lib and use the new external cenotes-lib package

0.3.0 (2017-12-01)

  • Add support for custom exceptions in safe_decryption decorator

0.2.1 (2017-12-01)

  • Fix imports to be relative inside lib package

0.2.0 (2017-12-01)

  • Expose only library packages
  • Set status Pre-Alpha -> Beta
  • Add python 3.6 support in package

0.1.1 (2017-11-30)

  • Fix invalid packaged files.

0.1.0 (2017-11-30)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cenotes_cli-0.5.1.tar.gz (8.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page