Skip to main content

Simple symmetric GPG file encryption and decryption

Project description

Documentation: http://chrissimpkins.github.io/crypto/

Description

crypto provides a simple interface to symmetric Gnu Privacy Guard (gpg) encryption and decryption for one or more files on Unix and Linux platforms. It runs on top of gpg and requires a gpg install on your system. Encryption is performed with the AES256 cipher algorithm.

Tested in cPython 2.7.x, 3.4.x, and pypy 2.4.x (Python version 2.7.8)

Install

Install with pip using the command:

$ pip install crypto

or download the source repository, unpack it, and navigate to the top level of the repository. Then enter:

$ python setup.py install

Upgrade

You can upgrade your crypto version with the command:

$ pip install --upgrade crypto

Usage

Encryption (crypto)

$ crypto <options> [file path] <file path 2...>
$ crypto <options> [directory path] <directory path 2...>

Decryption (decrypto)

$ decrypto <options> [file path] <file path 2...>
$ decrypto <options> [directory path] <directory path 2...>

You can find all available options in the documentation or by using one of the following commands:

$ crypto --help
$ decrypto --help

Frequently Asked Questions

FAQ link

Issue Reporting

Issue reporting is available on the GitHub repository

Changelog

Changelog link

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
crypto-1.1.0-py2.py3-none-any.whl (14.2 kB) Copy SHA256 hash SHA256 Wheel 2.7
crypto-1.1.0.tar.gz (10.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page