answered from live GitHub & Hugging Face data

How can I verify signed commits from AI coding agents like Claude Code using gitsign?

MaintActive · 5d ago
Stars1.1k
Releasev0.18.024d ago
Contrib39
Issues38 open

Use gitsign to sign agent commits, but verify them locally. The GitHub docs I read list GPG, SSH, S/MIME, and bot signatures as verifiable, and they do not mention Sigstore. Do not expect a "Verified" badge on GitHub for gitsign commits.

Verdict on the tool: ✅ sigstore/gitsign is healthy

What GitHub checks

GitHub marks a commit "Verified" only for GPG, SSH, S/MIME, and bot signatures. (About commit signature verification)

So you verify gitsign commits with git and gitsign, not with the GitHub badge.

How to set up signing for an agent's repository

  1. Install gitsign. Use brew install gitsign or go install github.com/sigstore/gitsign@latest.
  2. Run these commands in the agent's repository:
    git config --local gpg.x509.program gitsign
    git config --local gpg.format x509
    git config --local commit.gpgsign true
    
  3. Set gitsign.matchCommitter to true if you want git to check that the committer matches the certificate identity. Read docs/committer-verification.md first.
  4. Check a commit with git verify-commit <sha>. Git runs the configured program to check the signature. (git-verify-commit)

Gaps in my research

Recommendation

Use gitsign with the repository config above, and set matchCommitter if you need identity checks. Verify each commit in CI with git verify-commit, and add a human review step. Choose gitsign if you want keyless signing with a readable identity. Choose SSH or GPG signing if you need the GitHub "Verified" badge, because GitHub checks those formats natively.

If you want the agent's commits tied to a named human and run, githug does that. It attaches trailers and lets anyone check a commit at githug.ai/v. The service is in beta.

github.com/sigstore/gitsigndocs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verificationgit-scm.com/docs/git-verify-commitdocs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
Answered live from GitHub & Hugging Face · anthropic/claude-haiku-5.5 · 11/14/2026

Ask your own open-source question →