answered from live GitHub & Hugging Face data
How can I verify signed commits from AI coding agents like Claude Code using gitsign?
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
- Keyless Git signing with Sigstore. It signs with your GitHub or OIDC identity, so no long-lived signing key sits on disk.
- Last push 5 days ago. Latest release is v0.18.0 (published 2026-10-20).
- 1,133 stars, 39 contributors, 38 open issues.
- License field reads
NOASSERTION. I could not confirm the license terms. Read the repository's LICENSE file before you adopt it.
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
- Install gitsign. Use
brew install gitsignorgo install github.com/sigstore/gitsign@latest. - 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 - Set
gitsign.matchCommittertotrueif you want git to check that the committer matches the certificate identity. Read docs/committer-verification.md first. - Check a commit with
git verify-commit <sha>. Git runs the configured program to check the signature. (git-verify-commit)
Gaps in my research
- I could not find a Claude Code guide or a repository that connects Claude Code to gitsign. I cannot confirm how Claude Code runs git or where its signing config lives.
- I could not read the gitsign README's verification section in full. The command syntax for checking the signer identity and OIDC issuer is in that section. Check it before you write a verification script.
- A local check proves the signature is valid. It does not prove the agent wrote the code. Pair it with a review of the human who approved the change.
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.