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

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

Summary

  • GitHub Apps must sign their tokens with RS256. No other algorithm is documented (checked 2026-12-05).1
  • GitHub has not published which algorithms it accepts for passkeys and security keys (checked 2026-12-05).2
  • For SAML, an administrator picks the signature and digest method to match the identity provider. The list of choices is not in the documentation (checked 2026-12-05).3
  • No post-quantum option and no commitment has been published for any of these.

Cryptographic operations

Excludes SSH keys; see SSH.

  • GitHub App tokens: the App signs a JSON Web Token (JOSE); GitHub verifies. “Your JWT must be signed using the RS256 algorithm.”1 RSA; key size not stated (checked 2026-12-05). Classical. The token lasts minutes; the private key is long-lived.
  • Passkeys and security keys: GitHub is the relying party. Passkeys are “pairs of cryptographic keys (a public key and a private key) that are stored by an authenticator you control”; FIDO2 hardware keys are covered.2 Accepted algorithms not stated (checked 2026-12-05); the authenticator chooses from the set GitHub allows.
  • SAML single sign-on: GitHub is the service provider and verifies assertions from the customer’s identity provider. The administrator is told to “Select the Signature Method and Digest Method dropdown menus, then click the hashing algorithm used by your SAML issuer”; methods offered are not listed (checked 2026-12-05).3

Configuration

  • Enabling PQC: not possible for GitHub App tokens; nothing documented for passkeys or SAML.
  • Disabling classical: not possible; RS256 is the only algorithm for App tokens.1

Vendor commitments

None published (checked 2026-12-05).

References


Edit: GitHub authentication

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.