Actually good encryption. In Python.
Project description
pyage
pyage is an experimental implementation of @FiloSottile and @Benjojo12 's project "age". The spec is currently available as seven-page Google doc at age-encryption.org/v1.
This project is still work-in-progress.
⚠️ pyage is not intended to be a secure age implementation! My original intention was to better understand the spec, find mistakes early and provide a redundant implementation for validation. I'm not a cryptographer (IANAC) and did not (yet) find the time to address implementation-specific security issues (such as DoS attacks or side-channel attacks).
So: Use at your own risk.
Quick Start
Install from pip:
pip install age
Generate a key pair:
mkdir -p ~/.config/age
pyage generate > ~/.config/age/keys.txt
Encrypt a file:
pyage encrypt -i hello.txt -o hello.age pubkey:<recipient public key>
Decrypt a file (uses ~/.config/age/keys.txt
):
pyage decrypt -i hello.age
For a real tutorial, see the Tutorial section in the documentation.
Documentation
The full documentation can be found at pyage.readthedocs.io.
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
Built Distribution
File details
Details for the file age-0.5.1.tar.gz
.
File metadata
- Download URL: age-0.5.1.tar.gz
- Upload date:
- Size: 44.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4d9ce45c13a12c91e7f9d6f4945d1773a9ef978f7abb188980711766b07802d |
|
MD5 | bea99b7b2ae6f903a64c44e5b47b89e9 |
|
BLAKE2b-256 | 629b37d39bc2dab105dcac7518d23649bf937cd77f3373cc1a82c99e3844ce5a |
File details
Details for the file age-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: age-0.5.1-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ea2200f5674acfc1ba9b228917a97f23383cbdfc28549af25e967ea2d1462f6 |
|
MD5 | 30d2876a4e3973586ce31197a56d4861 |
|
BLAKE2b-256 | b366e503793e29aa1c19181524c0c2b240b608e9545a93c55d8d34b175a0dd88 |