Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kushaldas/johnnycanencrypt
Python module for OpenPGP written in Rust.
https://github.com/kushaldas/johnnycanencrypt
ecryption gpg openpgp python rust
Last synced: about 1 month ago
JSON representation
Python module for OpenPGP written in Rust.
- Host: GitHub
- URL: https://github.com/kushaldas/johnnycanencrypt
- Owner: kushaldas
- License: lgpl-3.0
- Created: 2020-07-08T06:16:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T11:31:06.000Z (about 1 month ago)
- Last Synced: 2024-09-26T16:07:58.603Z (about 1 month ago)
- Topics: ecryption, gpg, openpgp, python, rust
- Language: Rust
- Homepage:
- Size: 978 KB
- Stars: 51
- Watchers: 7
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# Johnny can encrypt
[![CircleCI branch](https://img.shields.io/circleci/project/github/kushaldas/johnnycanencrypt/main.svg)](https://circleci.com/gh/kushaldas/workflows/johnnycanencrypt/tree/main)
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](https://sequoia-pgp.org/) 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](https://rustup.rs) 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 Bullseye
```
sudo apt install -y python3-dev libnettle8 nettle-dev libhogweed6 python3-pip python3-venv clang libpcsclite-dev libpcsclite1 libclang-9-dev pkg-config```
```
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip setuptools
python -m pip install -r requirements-dev.txt
python setup.py develop
```For a release build use the following command.
```
python setup.py bdist_wheel
```## Introduction
Please read the [Introduction](https://johnnycanencrypt.readthedocs.io/en/latest/introduction.html) documentation.
## API documentation
Please go through the [full API documentation](https://johnnycanencrypt.readthedocs.io/en/latest/api.html) for detailed
descriptions.## LICENSE: LGPL-3.0-or-later