PATATT(5)
π PATATT(5) β NAME π
okay bestie, welcome to the PATATT(5) manual page β¨ β the tool for DKIM-like cryptographic patch attestation. Think of it as signing your email patches with fancy cryptographic headers instead of the whole inline/detached PGP signature situation π .
πΈ SYNOPSIS πΈ
patatt {sign,validate,genkey,install-hook} [options]
π DESCRIPTION π
so this tool lets you cryptographically sign patches sent via email by using DKIM-like message headers. Itβs effective, and β key point β it doesnβt interfere with other code review tools the way inline or detached PGP signatures do. no cap, thatβs the whole vibe π¦.
For the full overview of core concepts and considerations, please see the README β¨.
If you already have a PGP key configured for signing git tags or commits, then you should be able to use patatt without any additional configuration. Try running this in any git repository:
git format-patch -1 --stdout | patatt sign
If patatt is not finding your PGP key, try adding this to your ~/.gitconfig:
[user]
signingkey = [yourkeyid]
To find out your keyid, run gpg --list-secret-keys. If you want to use a specific subkey, you can specify the subkey ID with a ! at the end π.
π§ USING AS A GIT HOOK π§
If you use git-send-email for sending patches, then you can get them automatically signed via the sendemail-validate hook. To install, run this command in the repository you want enabled for signing:
$ patatt install-hook
Or you can install it manually:
$ echo 'patatt sign --hook "${1}"' >> .git/hooks/sendemail-validate
$ chmod a+x .git/hooks/sendemail-validate
π SUBCOMMANDS π
signβ sign stdin or RFC2822 files passed as argumentsvalidateβ basic validation for signed messagesgenkeyβ generate a new ed25519 keypairinstall-hookβ installsendemail-validatehook in the current repository
You can run patatt [subcommand] --help to see a summary of flags for each subcommand π
π«Ά SUPPORT π«Ά
Please email tools@kernel.org with support requests π.
π AUTHOR π
mricon@kernel.org
License: MIT-0
π COPYRIGHT π
The Linux Foundation and contributors
π cute little sign-off bestie π: this page is from PATATT(5), version 0.8.0, dated 2026-07-22 β slay and goodbye β¨π
π¦ where this page comes from
- arch rolling: patatt 0.8.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms