Vendor: GitHub · https://docs.github.com/en/authentication/managing-commit-signature-verification · Last reviewed 2026-12-05 · History
Summary
- GitHub verifies GPG, SSH and S/MIME signatures. The documentation does not list which key types or algorithms it verifies for any of the three (checked 2026-12-05).1
- No post-quantum signature type is documented or announced.
- SSH signing keys follow the SSH key rules: new RSA keys must be at least 3072 bits “both for signing and authentication”.2
- A verification is recorded once and kept, including after the key is revoked or expires.1
Cryptographic operations
Verifying user signatures
GitHub is the verifier. These are signatures at rest, checked for as long as the repository exists.
| Method | How GitHub verifies | Source |
|---|---|---|
| GPG | “GitHub uses OpenPGP libraries” against a public key on the account | 1 |
| SSH | “GitHub uses ssh_data, an open source Ruby library”; needs Git 2.34 or later | 1 |
| S/MIME | X.509 keys, checked against “the Debian ca-certificates package, the same trust store used by Mozilla browsers”; needs Git 2.19 or later | 1 |
- The algorithm is the one in the user’s key; for SSH, the classical types on the SSH page. Whether a key type such as ssh-mldsa44-ed25519 would verify is not documented (checked 2026-12-05).
- Commits added with Rebase and Merge “are added to the base branch without commit signature verification”.1
Persistent verification records
- “When a commit signature is verified upon being pushed to GitHub, a verification record is stored alongside the commit.” It persists “even if signing keys are rotated, revoked, or if contributors leave the organization”, and “GitHub will not re-verify previously signed commits”.1 “Verified” on an old commit reflects the check at push time.
Commits signed by GitHub
Configuration
- Enabling PQC: not possible; no post-quantum signing key type is documented as accepted.
- Disabling classical: not possible; no setting restricts which algorithms count as verified.
References
-
GitHub Docs, “About commit signature verification”. https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
-
GitHub Changelog, “Security improvements for SSH”, 2026-09-22. https://github.blog/changelog/2026-09-22-security-improvements-for-ssh/ (accessed 2026-12-05) ↩
-
GitHub Docs, “REST API endpoints for meta data”. https://docs.github.com/en/rest/meta/meta (accessed 2026-12-05) ↩