# pyage
[![Build and Test](https://github.com/jojonas/pyage/workflows/Build%20and%20Test/badge.svg)](https://github.com/jojonas/pyage/actions?workflow=Build+and+Test)
[![Compatibility Check](https://github.com/jojonas/pyage/workflows/Compatibility%20with%20FiloSottile/age/badge.svg)](https://github.com/jojonas/pyage/actions?workflow=Compatibility%20with%20FiloSottile/age)
[![Documentation Status](https://readthedocs.org/projects/pyage/badge/?version=latest)](https://pyage.readthedocs.io/en/latest/?badge=latest)
![License](https://img.shields.io/github/license/jojonas/pyage)
![pyage screenshot](https://raw.githubusercontent.com/jojonas/pyage/master/docs/source/_static/carbon.png)
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](https://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](https://pyage.readthedocs.io/en/latest/tutorials.html).
## Documentation
The full documentation can be found at [pyage.readthedocs.io](https://pyage.readthedocs.io/en/latest/index.html).
Raw data
{
"_id": null,
"home_page": "https://github.com/jojonas/pyage",
"name": "age",
"maintainer": "",
"docs_url": null,
"requires_python": "<4,>=3.6",
"maintainer_email": "",
"keywords": "age encryption privacy experimental",
"author": "Jonas Lieb",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/62/9b/37d39bc2dab105dcac7518d23649bf937cd77f3373cc1a82c99e3844ce5a/age-0.5.1.tar.gz",
"platform": "any",
"description": "# pyage\n\n[![Build and Test](https://github.com/jojonas/pyage/workflows/Build%20and%20Test/badge.svg)](https://github.com/jojonas/pyage/actions?workflow=Build+and+Test)\n[![Compatibility Check](https://github.com/jojonas/pyage/workflows/Compatibility%20with%20FiloSottile/age/badge.svg)](https://github.com/jojonas/pyage/actions?workflow=Compatibility%20with%20FiloSottile/age)\n[![Documentation Status](https://readthedocs.org/projects/pyage/badge/?version=latest)](https://pyage.readthedocs.io/en/latest/?badge=latest)\n![License](https://img.shields.io/github/license/jojonas/pyage)\n\n![pyage screenshot](https://raw.githubusercontent.com/jojonas/pyage/master/docs/source/_static/carbon.png)\n\npyage is an experimental implementation of @FiloSottile and @Benjojo12 's project \"age\".\nThe spec is currently available as seven-page Google doc at [age-encryption.org/v1](https://age-encryption.org/v1).\n\nThis project is still work-in-progress.\n\n\u26a0\ufe0f pyage is not intended to be a secure age implementation!\nMy 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).\n\nSo:\n*Use at your own risk.*\n\n## Quick Start\nInstall from pip:\n\n pip install age\n\nGenerate a key pair:\n\n mkdir -p ~/.config/age\n pyage generate > ~/.config/age/keys.txt\n\nEncrypt a file:\n\n pyage encrypt -i hello.txt -o hello.age pubkey:<recipient public key>\n\nDecrypt a file (uses `~/.config/age/keys.txt`):\n\n pyage decrypt -i hello.age\n\nFor a real tutorial, see [the Tutorial section in the documentation](https://pyage.readthedocs.io/en/latest/tutorials.html).\n\n## Documentation\nThe full documentation can be found at [pyage.readthedocs.io](https://pyage.readthedocs.io/en/latest/index.html).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Actually good encryption. In Python.",
"version": "0.5.1",
"project_urls": {
"Documentation": "https://pyage.readthedocs.io/",
"Homepage": "https://github.com/jojonas/pyage",
"Repository": "https://github.com/jojonas/pyage",
"Specification": "https://age-encryption.org/"
},
"split_keywords": [
"age",
"encryption",
"privacy",
"experimental"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b366e503793e29aa1c19181524c0c2b240b608e9545a93c55d8d34b175a0dd88",
"md5": "30d2876a4e3973586ce31197a56d4861",
"sha256": "8ea2200f5674acfc1ba9b228917a97f23383cbdfc28549af25e967ea2d1462f6"
},
"downloads": -1,
"filename": "age-0.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "30d2876a4e3973586ce31197a56d4861",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.6",
"size": 38560,
"upload_time": "2023-05-06T13:08:24",
"upload_time_iso_8601": "2023-05-06T13:08:24.995988Z",
"url": "https://files.pythonhosted.org/packages/b3/66/e503793e29aa1c19181524c0c2b240b608e9545a93c55d8d34b175a0dd88/age-0.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "629b37d39bc2dab105dcac7518d23649bf937cd77f3373cc1a82c99e3844ce5a",
"md5": "bea99b7b2ae6f903a64c44e5b47b89e9",
"sha256": "a4d9ce45c13a12c91e7f9d6f4945d1773a9ef978f7abb188980711766b07802d"
},
"downloads": -1,
"filename": "age-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "bea99b7b2ae6f903a64c44e5b47b89e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.6",
"size": 44532,
"upload_time": "2023-05-06T13:08:26",
"upload_time_iso_8601": "2023-05-06T13:08:26.702197Z",
"url": "https://files.pythonhosted.org/packages/62/9b/37d39bc2dab105dcac7518d23649bf937cd77f3373cc1a82c99e3844ce5a/age-0.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 13:08:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jojonas",
"github_project": "pyage",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "age"
}