Add info whether the native cert is builtin or user/admin installed

Aperta
#14 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Inizia esaminando le implementazioni del backend dell'OS che popolano i risultati della verifica dei certificati, usando il campo is_known_root di Chromium come comportamento di riferimento. Definisci come ogni backend segnala i certificati integrati nell'OS rispetto a quelli installati dagli utenti o dagli amministratori, e considera come il risultato dovrebbe esporre queste informazioni ai chiamanti.

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

Descrizione

It would be helpful to know if a certificate has been shipped by the OS, or was installed by the user or the administrator. This unlocks two use cases:

  • ignore the certificates from the first category and use a different root store as the basis, like the ones from the webpki-roots crate.
  • impose special requirements on the OS builtin certificates. Chrome does this for example, e.g. by limiting how long a certificate can be valid. Another requirement might be a check for an SCT.

In Chromium, this check is implemented via a is_known_root field on the verification result. The value is populated from the respective OS backends.

Lingua principale
Rust
Stelle
245
Fork
72
Merge medio
6h 48m
PR unite (30g)
5

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 rustls/rustls-native-certs

Tutte le issue di rustls/rustls-native-certs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.