Clarification on cipher preference - key size vs mode

Abierto
#396 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 17 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
52/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
security

Línea de trabajo

Read the OpenSSH 10.0 release notes linked in the issue for the new default cipher list, then look at how ssh-audit's hardening guides render the cipher preference ordering (the guide templates and the cipher list data they use). No files are named in the issue, so grep the repo for aes256-ctr and aes128-gcm to find the ordering source. Done means the ordering question is answered in the thread and the affected hardening guide output shows the agreed cipher sequence.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

OpenSSH 10.0 changed the default to prefer AES-GCM to AES-CTR mode when selecting a cipher for the connection. The default cipher preference list is now Chacha20/Poly1305, AES-GCM (128/256) followed by AES-CTR (128/192/256).
See https://www.openssh.org/txt/release-10.0

In the hardening guides [1] for some OSes this is the same ordering, but for others the algorithms are sorted by keysize first, ignoring the mode, e.g. [email protected],[email protected],aes256-ctr,aes192-ctr,[email protected],aes128-ctr.

So for sure [email protected] is better than aes128-ctr, but how do aes256-ctr and [email protected] compare and which should be first?

Shouldn't the strength and therefore also the ordering be independent of the OS?

[1] https://www.ssh-audit.com/hardening_guides.html

Lenguaje dominante
Python
Estrellas
4.3k
Forks
233
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jtesta/ssh-audit

Todos los issues de jtesta/ssh-audit

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.