✓ Works

git ≥ 2.34: SSH Key Commit Signing Fully Supported

git ≥ 2.34 + SSH commit signing

SSH commit signing was introduced in git 2.34.0 (November 2021). Configure with: `git config --global gpg.format ssh` and `git config --global user.signingkey ~/.ssh/id_ed25519.pub`. Verify signatures with an `allowed_signers` file. GitHub and GitLab both display SSH-signed commit verification badges.

Required Flags / Config

--gpg-sign (-S) on commit/tag commands

Workarounds & Fixes

Related Error Pages

Related Combinations

git 2.34 + Ubuntu 22.04 LTS ✓ Works git 2.43 + Ubuntu 24.04 LTS ✓ Works git (latest, via Homebrew) + macOS (any supported) ✓ Works git for Windows (latest) + Windows 10 / 11 ✓ Works
Last verified: 2024-06-01  ·  Category: git + OS / Features