Clarification on cipher preference - key size vs mode

Aperta
#396 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 17 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
52/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
4.3k
Fork
233
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jtesta/ssh-audit

Tutte le issue di jtesta/ssh-audit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.