Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

"signature";req and "signature-input";req are not recommended

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か

調査の方向性

FAPI 2.0 Message Signing §5.6.2.1をRFC 9421 §2.4およびリンクされているセキュリティに関する議論と併せて確認してください。第三の条項が "signature";req と "signature-input";req を要求しているかを判断し、その解釈が確認された場合は仕様の文言を更新し、引用されたRFCの警告に対応できていることを検証してください。

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

説明

component: HTTP Signing migrated-from-bitbucket priority: major type: proposal

Originally submitted by Takahiko Kawasaki (Takahiko Kawasaki) on 2024-09-20

FAPI 2.0 Message Signing, Section 5.6.2.1. Resource servers, the third clause says as follows:

if the request was signed, shall include the request signature and request signature input in the response signature input by means of the req boolean flag defined in Section 2.4 of [RFC9421];

If this clause means that "signature";req and "signature-input";req must be included in the signature base (and there seems to be no other way to interpret it), then this clause should be removed.

The third-to-last paragraph of Section 2.4. Signing Request Components in a Response Message in RFC 9421 HTTP Message Signatures states the following and explicitly says it is “NOT RECOMMENDED” to do so for security reasons.

While it is syntactically possible to include the Signature and Signature-Input fields of the request message in the signature components of a response to a message using this mechanism, this practice is NOT RECOMMENDED. This is because signatures of signatures do not provide transitive coverage of covered components as one might expect, and the practice is susceptible to several attacks as discussed in Section 7.3.7. An application that needs to signal successful processing or receipt of a signature would need to carefully specify alternative mechanisms for sending such a signal securely.

‌


Bitbucket status: open

Bitbucket origin: issue 718

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

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

openid/fapi のほかの issue

openid/fapi の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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