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

Aperta
#364 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
34/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Bikeshed
Stelle
115
Fork
21
Merge medio
5h 2m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di w3c/openscreenprotocol

Tutte le issue di w3c/openscreenprotocol

Issue simili

Altre issue su Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.