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

Đang mở
#364 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
34/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
security

Hướng nghiên cứu

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.

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

Mô tả

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.)

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ề Security

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.