Clarification on cipher preference - key size vs mode

オープン
#396 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 17 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
52/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
4.3k
フォーク
233
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jtesta/ssh-audit のほかの issue

jtesta/ssh-audit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。