Agent hostname serial number base64 encoding contains invalid DNS characters

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
markdown

調査の方向性

The issue points to the “Computing the Agent Hostname” section of network.bs. Read how encodedInstanceName and encodedDomain handle invalid DNS characters, then update the serial number encoding specification to use the chosen URL-safe, unpadded form. Done when the specification defines an encoding whose output is valid in a DNS label.

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

説明

osp-network

The algorithm for computing the agent hostname (network.bs §Computing the Agent Hostname) encodes the certificate serial number as RFC 4648 base64, but standard base64 can produce +, /, and = characters which are invalid in DNS labels.

The spec correctly specifies that encodedInstanceName and encodedDomain should replace characters outside [A-Za-z0-9-] with hyphens, but no such encoding is specified for base64SerialNumber.

Suggested fix: Specify URL-safe base64 (RFC 4648 Section 5) without padding for the serial number encoding, which uses only [A-Za-z0-9_-].

Alternative fix: Also use the hyphen escaping here, but it seems less canonical for this purpose.

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

環境構築

はじめの一歩

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

w3c/openscreenprotocol のほかの issue

w3c/openscreenprotocol の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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