Agent hostname serial number base64 encoding contains invalid DNS characters

Đang mở
#365 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
markdown
Lĩnh vực
documentation, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Bikeshed
Star
115
Fork
21
Merge trung bình
5 giờ 2 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của w3c/openscreenprotocol

Tất cả issue của w3c/openscreenprotocol

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.