Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: GitHub · https://docs.github.com/en/webhooks · Last reviewed 2026-12-05 · History

Summary

  • The payload signature is HMAC-SHA256 with a shared secret. It is symmetric and is not affected by the move to post-quantum public-key algorithms.1
  • The TLS connection is where public-key cryptography applies. GitHub has not published what its webhook sender offers as a TLS client (checked 2026-12-05).
  • The receiving server’s own configuration decides what can be negotiated. Whether GitHub would use a hybrid key agreement that the receiver supports is not documented.
  • No commitment has been published.

Cryptographic operations

  • Delivery connection: GitHub is the TLS client (TLS 1.3); the customer’s server presents its own certificate. TLS versions, groups and signature algorithms offered are not documented (checked 2026-12-05). No client proof exists yet.
  • Payload signature: GitHub signs, the customer verifies; a message authentication code, not a public-key signature. “GitHub uses an HMAC hex digest to compute the hash”, sent in X-Hub-Signature-256, using “your webhook’s secret token and the payload contents”.1 “The X-Hub-Signature header uses the HMAC-SHA1 algorithm and is only included for legacy purposes.” The header “will not be present if you have not configured a secret for your webhook”.1 Not affected.

Configuration

  • Enabling PQC: no setting on GitHub’s side; the receiver controls its own TLS configuration.
  • Disabling classical: no GitHub setting. Whether GitHub’s sender would connect to a receiver that refuses classical key agreement is not documented (checked 2026-12-05).

References

  1. GitHub Docs, “Validating webhook deliveries”. https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries (accessed 2026-12-05) ↩ ↩2 ↩3


Edit: GitHub webhooks

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.