Skip to main content

Actually good encryption. In Python.

Project description

pyage

Build and Test Compatibility Check Documentation Status License

pyage screenshot

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

age-0.5.1.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

age-0.5.1-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

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

Hashes for age-0.5.1.tar.gz
Algorithm Hash digest
SHA256 a4d9ce45c13a12c91e7f9d6f4945d1773a9ef978f7abb188980711766b07802d
MD5 bea99b7b2ae6f903a64c44e5b47b89e9
BLAKE2b-256 629b37d39bc2dab105dcac7518d23649bf937cd77f3373cc1a82c99e3844ce5a

See more details on using hashes here.

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

Hashes for age-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea2200f5674acfc1ba9b228917a97f23383cbdfc28549af25e967ea2d1462f6
MD5 30d2876a4e3973586ce31197a56d4861
BLAKE2b-256 b366e503793e29aa1c19181524c0c2b240b608e9545a93c55d8d34b175a0dd88

See more details on using hashes here.

Supported by

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