Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Python module for OpenPGP.

Project description

Johnny can encrypt

CircleCI branch

Johnnycanencrypt aka jce is a Python module written in Rust to do basic encryption and decryption, and detached signing operations. It uses amazing sequoia-pgp library for the actual OpenPGP operations.

You can also use Yubikeys for the private key operations using this module.

How to build?

First install Rustup toolchain for your user.

Build dependencies in Fedora

sudo dnf install nettle clang clang-devel nettle-devel python3-devel pcsc-lite-devel

Build dependencies in Debian Buster

sudo apt install -y python3-dev libnettle6 nettle-dev libhogweed4 python3-pip python3-venv clang libpcsclite-dev

Finally build the module using maturin.

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements-dev.txt
maturin develop

For a release build use the following command.

maturin build --release

Introduction

Please read the Introduction documentation.

API documentation

Please go through the full API documentation for detailed descriptions.

LICENSE: GPLv3+

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page