Skip to main content

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.

Metadata

Release files for age 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for age 0.5.1
File Size Uploaded Provenance Actions
age-0.5.1.tar.gz 44.5 kB Without provenance Details for age-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for age 0.5.1
File Interpreter ABI Platform Actions
age-0.5.1-py3-none-any.whl Python 3 none any Details for age-0.5.1-py3-none-any.whl

Total release size: 83.1 kB

Release files / age-0.5.1.tar.gz

Download URL age-0.5.1.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4d9ce45c13a12c91e7f9d6f4945d1773a9ef978f7abb188980711766b07802d
BLAKE2b-256 checksum
How to use checksums
629b37d39bc2dab105dcac7518d23649bf937cd77f3373cc1a82c99e3844ce5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / age-0.5.1-py3-none-any.whl

Download URL age-0.5.1-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ea2200f5674acfc1ba9b228917a97f23383cbdfc28549af25e967ea2d1462f6
BLAKE2b-256 checksum
How to use checksums
b366e503793e29aa1c19181524c0c2b240b608e9545a93c55d8d34b175a0dd88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for age 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page