SSH key pages: add the 3072-bit RSA rule and an ssh-keygen -lf check to the Note
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
- #47071 de @FullStraing — fechado sem integrar
Avaliação
- Dificuldade
- 1/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 88/100
- Tipo de issue
- Documentação
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Domínio
- documentation
Direção de pesquisa
Comece por data/reusables/ssh/key-type-support.md, que fornece a nota nas três páginas mencionadas sobre chaves SSH. Confira a redação existente e adicione a regra indicada para RSA de 3072 bits e a verificação do comprimento com ssh-keygen -lf. O trabalho estará concluído quando a nota reutilizável cobrir os dois pontos nessas páginas.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 21.6k
- Forks
- 69.7k
- Merge médio
- 8h 11min
- PRs com merge (30d)
- 100
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/docs
-
Codespaces user secrets guide describes logout behavior from older GitHub CLI versionsTalvez já em andamento @Jostar2 assumiu hoje. Abertatriage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
github/docs#47156 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
content localization
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
github/docs#47125 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
content driver persona
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 86/100
github/docs#47120 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
content localization
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 75/100
github/docs#47093 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
Remove deprecated node20 option from Actions MetadataTalvez já em andamento @Netail assumiu há 11 dias. Abertacontent skip-spammy-check
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 70/100
github/docs#47020 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de github/docs
Issues semelhantes
-
feature
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridAbertabug from-app needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
nightly-labs/openbot#21303 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ADORSYS-GIS/CoopData#282 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
OHDSI/Data2Evidence#3816 ·
Mantenedores costumam responder em até 3 dias
-
`ovsx verify` fails for a version older than the 100 newest of an extensionTalvez já em andamento @trivikr assumiu hoje. Abertacli
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 81/100
eclipse-openvsx/openvsx#2482 · 2 comentários ·
Mantenedores costumam responder em até 1 dia