The keyid parameter
まだ誰も着手していません。
評価
調査の方向性
RFC 9421 のセクション 2.3 と 4.3 から始め、HTTP message-signature metadata の影響を受ける FAPI の本文と例を追跡します。keyid を推奨することが相互運用性と複数の署名にどのような影響を与えるかを確認します。関連する FAPI のガイダンスと例で推奨事項が明確に指定されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Originally submitted by Takahiko Kawasaki (Takahiko Kawasaki) on 2024-10-07
It seems preferable to recommend including the keyid parameter (RFC 9421 HTTP Message Signatures, Section 2.3. Signature Parameters) to the signature metadata of HTTP message signatures.
When used with the mandatory created and tag parameters, the keyid parameter will appear in the Signature-Input HTTP field as shown below.
GET /api/userinfo HTTP/1.1
Host: trial.authlete.net
User-Agent: curl/8.7.1
Accept: */*
Authorization: Bearer 4rSgHO6sdlBL4z_1l4bAmED2CG40zblXlc3YDqrqdu8
Signature-Input: sig=("method" "target-uri" "authorization")\
;created=1728051074\
;keyid="ScIdKFzAj93vywpwjrfi3wrj5oHmHbHfmPT5IPTLmVc"\
;tag="fapi-2-request"
Signature: sig=:yx+SthCcbAu7R7rV1DoZX8ILLURmHwNTlRXMbnJVRHWXwyHQQPmPnLLhNx9tHeqG8Mp1SeN4CSB38QDwKfkkqA==:
The reason for recommending the use of keyid is that it is the only vendor-neutral means for key identification.
Without the keyid parameter, the resource server’s implementation would have to identify the key based on its own custom rules, significantly reducing interoperability. As a result, fintech client applications would need to agree on different key identification methods for each finantial institution they communicate with. Additionally, without the keyid parameter, while not impossible, it would become considerably difficult to support the use case mentioned in the first paragraph of RFC 9421 HTTP Message Signatures, Section 4.3. Multiple Signatures, where “a signer may include multiple signatures signing the same message components with different keys or algorithms to support verifiers with different capabilities.”
Bitbucket status: open
Bitbucket origin: issue 721
- 主要言語
- HTML
- スター
- 4
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openid/fapi のほかの issue
-
component: FAPI 1: Advanced migrated-from-bitbucket priority: major type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
migrated-from-bitbucket priority: trivial type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
detecting inconsistent .well-known/openid-configuration vs .well-known/oauth-authorization-server on conformance tests対応中かも @jogu が 3 日前に担当しました。 オープンcomponent: Certification component: FAPI2: Advanced Authorization
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
component: Certification component: FAPI2: Security Profile
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
solana-foundation/pay-kit#341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
anthropics/buffa#487 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
OwO-Network/DLX#236 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nasa/python_cmr#123 ·