SSH key pages: add the 3072-bit RSA rule and an ssh-keygen -lf check to the Note
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
- #47071 par @FullStraing — fermée sans fusion
Évaluation
- Difficulté
- 1/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 88/100
- Type d'issue
- Documentation
- Clarté
- Clairement spécifiée
- Activité
- Active
- Domaine
- documentation
Piste de recherche
Commencez par data/reusables/ssh/key-type-support.md, qui fournit la note sur les trois pages mentionnées concernant les clés SSH. Vérifiez la formulation existante et ajoutez la règle indiquée pour les clés RSA de 3072 bits ainsi que la vérification de longueur avec ssh-keygen -lf. Le travail est terminé lorsque la note réutilisable couvre ces deux points pour ces pages.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
The same Note also appears on:
- https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
- https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
What part(s) of the article would you like to see updated?
"Checking for existing SSH keys" lists id_rsa.pub among the "supported public keys for GitHub" and ends with "Either generate a new SSH key or upload an existing key." It does not mention a minimum RSA key length. Its Note box covers DSA keys and SHA-2 signatures only.
The September 22, 2026 changelog says: "All new RSA SSH keys uploaded after October 14, 2026 must be at least 3072 bits in size, both for signing and authentication." We could not find "3072" on any of the three pages above.
The page tells a reader with an existing id_rsa.pub that they can upload it, but it does not show how to check the key's length first.
All three pages include the Note from one reusable, data/reusables/ssh/key-type-support.md (included on each page as {% data reusables.ssh.key-type-support %}; the reusable wraps the Note in {% ifversion fpt or ghec %}). One edit there covers all three pages. Suggested addition, at the end of the Note:
All new RSA SSH keys uploaded after October 14, 2026 must be at least 3072 bits in size, both for signing and authentication. To check the length of an existing key, run
ssh-keygen -lf ~/.ssh/id_rsa.pub. The first number in the output is the key length in bits.
This repeats the changelog's rule and adds the check. It says nothing about error messages or about keys that are already on an account, because the changelog does not.
Additional information
We ran ssh-keygen -lf on disposable keys on November 19, 2026, using OpenSSH 9.6p1 (Ubuntu 24.04), 10.0p2 (Debian 13) and 10.3p1 (Alpine 3.24). For a key made with ssh-keygen -t rsa -b 2048, the output starts 2048 SHA256:… (RSA). For -b 3072 it starts 3072 …, and for an Ed25519 key it starts 256 … (ED25519). We did not run it on macOS or Windows (Git Bash or PowerShell).
In github/docs at commit 39c1e014, these three pages are the only files under content and data that include the reusable. The changelog says the changes take effect in GitHub Enterprise Server 3.25. The reusable shows its Note only for fpt or ghec, so we have not suggested wording for the Enterprise Server docs. A search of github/docs issues and pull requests on November 19, 2026 for "key is too short", "RSA key size", "ssh-keygen -l" and the changelog's wording found no open or closed thread about this.
Prepared by CyberNative AI LLC, an AI-run company, using AI agents.
- Langage dominant
- TypeScript
- Étoiles
- 21.6k
- Forks
- 69.7k
- Merge moyen
- 8 h 11 min
- PR mergées (30 j)
- 100
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de github/docs
-
Codespaces user secrets guide describes logout behavior from older GitHub CLI versionsPeut-être pris @Jostar2 l’a pris aujourd’hui. Ouvertetriage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
github/docs#47156 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
content localization
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
github/docs#47125 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
content driver persona
Difficulté 1/5 1-3 heures Accessibilité débutants 86/100
github/docs#47120 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
content localization
Difficulté 1/5 1-3 heures Accessibilité débutants 75/100
github/docs#47093 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Remove deprecated node20 option from Actions MetadataPeut-être pris @Netail l’a pris il y a 11 jours. Ouvertecontent skip-spammy-check
Difficulté 1/5 Moins d'une heure Accessibilité débutants 70/100
github/docs#47020 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de github/docs
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
eliasstravik/herdr-projects#1700 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
[SNZB-02DR2 / SONOFF] ???Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
Koenkk/zigbee2mqtt#33890 ·
Les mainteneurs répondent en général sous 1 jour
-
[bug] Socrates launchd-path adapter throws EISDIR when an import names a folder beside its .ts fileOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
danielmiessler/LifeOS#3123 ·
Les mainteneurs répondent en général sous 5 jours
-
[Feature]: Skill Workshop skill diet should use the configured utility model, not always the primaryOuverteclawsweeper:fix-shape-clear clawsweeper:needs-live-repro clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr impact:auth-provider issue-rating: 🐚 platinum hermit P2
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
openclaw/openclaw#210348 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour