Confusing diffie-hellman-group-exchange-sha256 recommendation/output
メンテナーはふだん 17 日以内に返信
まだ誰も着手していません。
- #390 @hakarrr による — マージされずにクローズ
評価
調査の方向性
Start by tracing how the audit output reports the negotiated group exchange modulus and how the OpenSSH recommendation is generated; the issue gives no file or test names. Compare the wording for a server with hardened moduli against the recommendation threshold, then add or update a regression test that demonstrates the confusing output and confirms the clarified recommendation.
索引モデルが issue の本文から書いたものです。
説明
I see this in current (git master, 5ddd8cca5bb45dba4ebf313f437759def3859f27) ssh-audit output
[...]
# key exchange algorithms
[...]
(kex) diffie-hellman-group-exchange-sha256 (3072-bit) -- [warn] does not provide protection against post-quantum attacks
`- [info] available since OpenSSH 4.4
`- [info] OpenSSH's GEX fallback mechanism was triggered during testing. Very old SSH clients will still be able to create connections using a 2048-bit modulus, though modern clients will use 3072. This can only be disabled by recompiling the code (see https://github.com/openssh/openssh-portable/blob/V_9_4/dh.c#L477).
[...]
# algorithm recommendations (for OpenSSH 9.9)
(rec) !diffie-hellman-group-exchange-sha256 -- kex algorithm to change (increase modulus size to 3072 bits or larger)
This is in a setup that has the moduli hardenings from https://www.sshaudit.com/hardening_guides.html already made ($5 >= 3071...).
What I find curious is that it first seems to say a 3072-bit diffie-hellman-group-exchange-sha256 is already in use, and then recommends to increase its modulus size to >= 3072.
Removing diffie-hellman-group-exchange-sha256 altogether gets rid of the warning, but it doesn't seem that's what's being recommended.
Could this be clarified somehow?
- 主要言語
- Python
- スター
- 4.3k
- フォーク
- 233
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jtesta/ssh-audit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 17 日以内に返信
-
Wrong algorithm recommendation for OpenSSH 10.6対応中かも @rylena が 14 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jtesta/ssh-audit#393 · リアクション 1 件 ·
メンテナーはふだん 17 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 17 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
メンテナーはふだん 17 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
jtesta/ssh-audit#396 · コメント 1 件 ·
メンテナーはふだん 17 日以内に返信
jtesta/ssh-audit の issue をすべて見る
似ている issue
-
bug TAG: unit tests
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
learningequality/ricecooker#898 ·
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
freelawproject/litigant-portal#1285 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jmespath/jmespath.py#401 ·
-
least_squares returns a nonfinite objective for an invalid initial residual対応中かも @sylvesterkaczmarek が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
google-deepmind/mujoco#4023 ·
メンテナーはふだん 11 日以内に返信
-
Five Australian birds: Red-capped Parrot, Red-winged Fairywren, Gilbert’s Honeyeater, Western Spinebill, Western Wattlebird対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
arnegiacomo/fugleramme#427 ·
メンテナーはふだん 1 日以内に返信