Evidence: serve more than one public-check definition in one process

Aperta
#2,628 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by locating the public-check request handler, its definition configuration, and the evidencectl check validation entry point; the issue does not name specific files or tests. Trace how one definition is loaded and how requests produce the current non-revealing answer, then identify how multiple definitions can be selected without path collisions. Done means two definitions work in one process, collisions are rejected, both wrong-code cases stay non-revealing, and the published example runs with two definitions.

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

Descrizione

area:evidence criticality:p2 enhancement studio:product-gap

A printed certificate can carry a QR code that opens a page showing whether the certificate is valid, suspended, revoked or expired. POST /v1/public-check answers that, but one Evidence process serves one definition. A deployment with two certificate types (for example a licence and a statement of good standing) has to run and operate a second Evidence process for the second one.

Smallest change

  • Several public-check definitions in one process, each at its own path or selected by a field of the request.
  • evidencectl check validates each definition and refuses two that would answer at the same path.

Acceptance

  • One Evidence process serves two public-check definitions, and a wrong number or code for either gives the same non-revealing answer as today.
  • evidencectl check refuses two definitions that collide.
  • The published public-check example runs with two definitions.

Out of scope

  • Promoting the contract from v1alpha1 and signing the answer; both are separate decisions.
  • Generating the check code and its registry field (the issuing app and authoring tools do that).
  • Rate limit or abuse policy changes beyond what exists.
Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
9h 48m
PR unite (30g)
151

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 registrystack/registry-stack

Tutte le issue di registrystack/registry-stack

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.