answered from live GitHub & Hugging Face data

How do I implement commit signing for AI coding agents to verify their contributions using gitsign?

MaintActive · 2d ago
Stars7.2k
Issues38 open
MaintActive · 2d ago
Stars1.1k
Issues39 open
MaintStale · 3.1y ago
Stars22
Issues1 open

Verdict: For a badge that GitHub shows as "Verified," use an SSH key or a GitHub App, not gitsign. Gitsign is a real, active project, but GitHub's docs do not list Sigstore as a verifiable format.

What GitHub verifies

GitHub's documentation lists three signature types for "Verified" status: GPG, SSH, and S/MIME. It also covers bot signatures from GitHub Apps. About commit signature verification says that a commit with a cryptographically verifiable signature is marked "Verified." Gitsign uses Sigstore keyless signing, which the docs do not mention. I expect gitsign commits to show "Unverified" on GitHub. I did not test this.

Gitsign status

Project Stars Maintenance License Best for
sigstore/gitsign 1,135 ✅ Active (last push 2 days ago, 39 open issues) NOASSERTION (not a standard SPDX license; read the LICENSE file) Keyless signing with an OIDC identity, verified outside GitHub

I could not read the gitsign README in this session because of a rate limit. I cannot confirm its install or configuration commands. Read the README before you set it up.

Options for agent commits

Option GitHub "Verified"? Identity and expiry Best for
SSH signing key Yes Key lasts until you remove it. No expiry is set by default. One human, one machine
GitHub App (bot) Yes, for commits made through the API App identity. Commits show as the bot. Several agents, separate identities
Gitsign Not listed in GitHub docs Short-lived certificate tied to an OIDC login Verification outside GitHub

Bot signatures only verify if the request is authenticated as the GitHub App. The request also cannot set custom author or committer data, per the docs.

Steps for SSH signing (documented path)

  1. Check for existing SSH keys. Use the GitHub docs for the full list.
  2. Generate a new SSH key for the agent host.
  3. Add the key to your GitHub account as a signing key.
  4. Tell Git about the signing key.
  5. Sign commits.

SSH signing needs Git 2.34 or later, per the same page.

Recommendation

Use a GitHub App if you run more than one agent. Each app shows as its own bot in commits and pull requests. Use SSH signing for one agent on one machine. Test gitsign on a throwaway repository before you rely on it.

If you want to tie each agent commit to a human and a run, githug does this. Each agent gets its own key. The agent's commits are authored as the agent and carry trailers that name the accountable human and run. Anyone can check a commit at githug.ai/v. The hug CLI (hug init --repo owner/repo) sets this up. It is free during the beta.

docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verificationgithub.com/lewis6991/gitsigns.nvimgithub.com/sigstore/gitsigngithub.com/radyz/telescope-gitsignsgithub.com/calind/selenized.nvimgithub.com/purarue/gitsigns-yadm.nvimgit-scm.com/docs/git-config
Answered live from GitHub & Hugging Face · anthropic/claude-haiku-5.5 · 11/20/2026

Ask your own open-source question →