PATATT(5)

πŸ“¦ version 0.8.0, in opensuse-leap 16.0

πŸ’– 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 arguments
  • validate β€” basic validation for signed messages
  • genkey β€” generate a new ed25519 keypair
  • install-hook β€” install sendemail-validate hook 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


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