Skip to content

Review Ed25519 SSH key recommendation in light of Dec 2026 NSA PQC advisory #47183

Backlog

Description

@rok

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

What part(s) of the article would you like to see updated?

Under Generating a new SSH key, the article currently recommends generating an Ed25519 key by default:

ssh-keygen -t ed25519 -C "your_email@example.com"

Following the December 2, 2026 NSA Cybersecurity Advisory accelerating the transition to post-quantum cryptography (which flags 256-bit elliptic curves such as Ed25519 and P-256), the primary recommendation should be reviewed.

Until GitHub supports post-quantum SSH authentication keys (such as ssh-mldsa44-ed25519), promoting the existing fallback command (ssh-keygen -t rsa -b 4096 -C "your_email@example.com")—and/or recommending ECDSA P-384 (ssh-keygen -t ecdsa -b 384 -C "your_email@example.com")—would provide a stronger interim default.

If the default algorithm changes, the security and content teams may also want to review:

  • Remaining id_ed25519 filename examples on this page and in shared reusables (data/reusables/ssh/add-ssh-key-to-ssh-agent.md, data/reusables/ssh/add-ssh-key-to-ssh-agent-commandline.md, data/reusables/gpg/copy-ssh-public-key.md, and adding-a-new-ssh-key-to-your-github-account.md).
  • Guidance in the Generating a new SSH key for a hardware security key section (ed25519-sk and ecdsa-sk).

Additional information

References:

Activity

  1. added
    triage
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions