KemRecipientInfo: CryptographicException shows an unfilled '{0}' for an unsupported KDF or key-wrap algorithm
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 83/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- csharp
- 領域
- cryptography, security
調査の方向性
ManagedPal.Kem.csを読み、KEM、KDF、キーラップのチェックを、このファイル内のほかのアルゴリズムエラーの呼び出し箇所と比較します。未サポートのアルゴリズムOIDをCryptographicExceptionコンストラクターに渡し、メッセージに「{0}」ではなくアルゴリズム名が表示されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
On .NET 11.0.0 (SDK 11.0.100, Linux, the dotnet/sdk:11.0 image), EnvelopedCms.Decrypt(KemRecipientInfo, MLKem) on an EnvelopedData whose KEMRecipientInfo uses AES key wrap with padding (id-aes256-wrap-pad, RFC 5649) throws CryptographicException with the message:
Unknown algorithm '{0}'.
In ManagedPal.Kem.cs the KEM, KDF and key-wrap checks of the KEMRecipientInfo create it as new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm), without the argument, while the other call sites in the same file pass the algorithm with the (string format, string insert) constructor. Passing the OID there (for example KeyEncryptionAlgorithm.Oid.Value) would name the algorithm the recipient does not support.
Not reading AES key wrap with padding is fine by RFC 9936, which makes only AES key wrap mandatory; this is only about the message.
- 主要言語
- C#
- スター
- 18.5k
- フォーク
- 5.8k
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 505
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/runtime のほかの issue
-
area-VM-meta-mono untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
area-Debugger-mono untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
dotnet/runtime#138494 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area-AssemblyLoader-mono untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/runtime#138493 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
JsonConsoleFormatter throws on NaN and infinite double and float values, failing the log call対応中かも @MuhammadBilal64 が 4 日前に担当しました。 オープンarea-Extensions-Logging untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dotnet/runtime#138418 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area-System.IO untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/runtime#138417 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug documentation queries
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/clickhouse-cs#815 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Klyroo/klyroo-dashboard#12 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates on対応中かも @yadavraj2001 が 1 日前に担当しました。 オープンdocumentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#73 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
christian-raj/S-Aloha#504 ·
-
TheTVDB heading is cut off on the Metadata Source settings page at phone widths対応中かも @NickWick13 が 1 日前に担当しました。 オープンsuboptimal ui-only
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Sonarr/Sonarr#9389 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信