Consider switching to negation syntax for policies
メンテナーはふだん 17 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read the related issues #350 and #363, then inspect how policies currently define supported algorithms and how those policies are applied. The issue proposes changing policy behavior but leaves the syntax and design open; done would require a decided approach that handles new defaults and newly insecure algorithms safely.
索引モデルが issue の本文から書いたものです。
説明
Currently policies set a fixed set of algorithms. I think it would be better to only disable certain algorithms (maybe also enable some that are supported, but disabled by default in that version), but otherwise leave the default lists untouched.
To me the question is about future-proofing, enabling new algorithms and the need to update the policies.
Currently with a fixed list when upgrading to a new OpenSSH version the new algorithms are disabled, even though they are safe, post-quantum-secure algorithms. Also a newer version might disable some algorithm because it has become insecure. But with these policies I currently re-enable them and have to manually update the policy to protect against these attacks.
For sure, one should regularly audit and update the policy according to best practices, but unfortunately, often this is not possible due to time constraints and one has to just reuse existing configuration and hope for good defaults.
With the negation syntax one could disable all insecure or otherwise unwanted crypto while leaving the the opportunity to get new crypto on an upgrade without explicitly needing to enable them and now outdated crypto would then also get disabled.
It happens regularly that crypto that was deemed secure before, is now regarded as insecure, but I am not aware of any case where a cryptographic algorithm was deemed broken and then later turned out to be secure.
relates to #350 and #363
I am open for other arguments.
- 主要言語
- 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 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
jtesta/ssh-audit#396 · コメント 1 件 ·
メンテナーはふだん 17 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
メンテナーはふだん 17 日以内に返信
jtesta/ssh-audit の issue をすべて見る
似ている issue
-
priority: low research
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
LearningCircuit/local-deep-research#10088 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
WebOfTrust/keripy#1787 ·
メンテナーはふだん 1 日以内に返信
-
smarter-api: SmarterTokenAuthentication.authenticate_credentials() logs the api key owner's username at INFO on every api-key request対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンlogging pod-log-review security severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
smarter-sh/smarter#1124 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
resource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
hesreallyhim/awesome-claude-code#3773 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lightninglabs/layertree#28 ·