Skip to main content

Secure file encryption and data access

Project description

Build Status

Jewels

A simple utility for encrypting/decrypting text files. It can be used for securely using applicative credentials.

Jewels provides:

  • a Command Line tool for user-driven key generation and data encryption
  • a Jewels Class for application-driven file decryption

Encryption is performed using AES256 in EAX Mode.

Installation

> pip install jewels

Usage

Generate a key file to safely store on server:

> jewels-cli keygen /etc/mykey

Encrypt a text file:

> jewels-cli encrypt plaintext [--dest dest-dir] /etc/mykey

Encrypt recursively all text files into a folder:

> jewels-cli encrypt -r src-dir [--dest dest-dir] /etc/mykey

Inside your code, access data from an encrypted file:

from jewels import Jewels

jewel = Jewels('/etc/mykey')

data = jewel.decrypt('filename')

Project details


Download files

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

Files for jewels, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size jewels-1.1.4-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jewels-1.1.4.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

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