Self-signed certs vs Issuer CN requirement (Issuer≠Subject conflict)

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
34/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
security

調査の方向性

Start by reading the OSP certificate requirements referenced in the issue and compare the self-signed, Subject CN, and Issuer CN requirements. The issue names rcgen as the implementation context but provides no repository file or test to start from. Done would mean clarifying whether the requirements can be satisfied together and what compliant implementations should do.

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

説明

osp-network

While trying implement the OSP certificate requirements in Rust (https://github.com/youtube/openscreen-rs), I ran into difficulty creating self-signed certificats in the way the spec demands.

The spec states that certificates are self-signed, while also requiring:

  • Subject CN = agent hostname
  • Issuer CN = model-name

When trying to implement this with the rcgen crate, rcgen generates self-signed certificates with Issuer == Subject, which makes it impossible to satisfy both “self-signed” and “Issuer CN = model-name” while also keeping “Subject CN = hostname”.

It seems this design is unusual to the point that is can be incompatible with assumptions in existing tooling/libraries. Implementers may be unable to comply with the spec as written using standard X.509 tooling.

(I'm not proposing a solution yet, just flagging the ambiguity that seems to block straightforward compliant implementations.)

主要言語
Bikeshed
スター
115
フォーク
21
平均マージ
5時間 2分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

w3c/openscreenprotocol のほかの issue

w3c/openscreenprotocol の issue をすべて見る

似ている issue

Security の issue をもっと見る

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

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