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.4.1.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

age-0.4.1-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file age-0.4.1.tar.gz.

File metadata

  • Download URL: age-0.4.1.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for age-0.4.1.tar.gz
Algorithm Hash digest
SHA256 e5c685c9842aed8805640ad8e8f351d2e01d79693b28b5667ac714ffeda614be
MD5 246841b5a9b9ca3cd50a982003dd2d0d
BLAKE2b-256 e2475c25a5022b29812485ebee0ca98a39626004d906c31a84441c93b124b8d3

See more details on using hashes here.

File details

Details for the file age-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: age-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for age-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6952102e1ea9ab954478147ee5fe7ebe522d5947586fb8b7097b6159602c1e43
MD5 6803bd7c661c2baa80a4409f37735d64
BLAKE2b-256 896a18d61420fb9f9d3a8d109e64baa2d6f4aa0a8addcf0a253e33c403b658d9

See more details on using hashes here.

Supported by

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