A simple library to add cryptographic attestation to patches sent via email
Project description
Patatt is a Python library and CLI for adding end-to-end cryptographic attestation to patches sent via email. It adapts the DKIM email signature standard to include cryptographic signatures via the X-Developer-Signature header.
If your project workflow doesn’t use patches sent via email, then you don’t need this and should simply start signing your tags and commits.
Features
DKIM-like signature headers that don’t corrupt patch content
Multiple signing algorithms: ed25519, OpenPGP, OpenSSH
In-repository keyring management via git refs
Automatic signing via git sendemail-validate hook
Installation
Install using pipx (recommended):
pipx install patatt
Or with pip:
pip install --user patatt
Quick Start
Generate a new ed25519 signing key:
patatt genkey
Sign a patch:
git format-patch -1 --stdout | patatt sign > signed.patch
Validate a signed patch:
patatt validate signed.patch
Documentation
Full documentation is available at https://patatt.docs.kernel.org
Contributing
Please send patches and support requests to tools@kernel.org.
Submissions must be made under the terms of the Linux Foundation certificate of contribution and should include a Signed-off-by line. See the DCO file for details.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file patatt-0.7.0.tar.gz.
File metadata
- Download URL: patatt-0.7.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7b2be8a15f251fbbc90c6b734ab910654a7a9d184369ce9e77b6d26e43b9eea
|
|
| MD5 |
e1064921ac485af1a9454d6c3e70d442
|
|
| BLAKE2b-256 |
17f9d9c3ace058873379cec76fbe2ed887e8d47e55d56704018c29b35e30e440
|
File details
Details for the file patatt-0.7.0-py3-none-any.whl.
File metadata
- Download URL: patatt-0.7.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3335f90f94ba7446ade9c166aee62c41d57d4c283ba3b7569d311c686eac4ace
|
|
| MD5 |
9223d849fe49f9d37b2430c40673129d
|
|
| BLAKE2b-256 |
f000848e6a58684f0f8e80684d2158799e110c7f60fcddcfde2809bce3107fcc
|