You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Review Ed25519 SSH key recommendation in light of Dec 2026 NSA PQC advisory #47183
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).
Activity