Evidence: serve a credential status list and link it to source record changes

Offen
#2,629 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
38/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
postgresql, rust

Rechercherichtung

Start by reading the existing status module and the OID4VCI issuance service, then inspect how Evidence definitions are validated by evidencectl check. Trace how source record changes are detected and how reinstatement approval is recorded. Done means the acceptance cases pass: issued credentials carry a status reference, changes update the served list within a defined bound, reinstatement stays pending until approved, and no per-credential lookup route is served.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

When a licence is suspended or revoked, the wallet credential issued for it still verifies until it expires. The status code exists as library code that the served runtime does not call, so there is no status list endpoint and nothing connects a change in the source registry to a status change. Authors can only keep wallet credentials short-lived and reissue them.

Smallest change

  • Serve the status list that the status module already produces (token-format list signed with the Evidence credential key) from the OID4VCI service, and add the status reference to issued credentials when the definition asks for it.
  • A status transition (valid, suspended, revoked) is driven by a named change on the source record, declared in the Evidence definition and checked by evidencectl check.
  • Moving a credential from suspended back to valid does not happen by itself: it raises a pending reinstatement that an operator approves.
  • The list carries no per-credential identifier a verifier can use to link credentials.

Acceptance

  • An issued credential carries a status reference, and the served list shows it valid; after the source record change it shows suspended or revoked within a stated bound.
  • A test shows a suspension lifted at the source leaving the credential suspended until the operator approval is recorded.
  • A test shows the list is the only thing served: no per-credential lookup route.
  • Definitions without status keep today's behaviour.

Out of scope

  • Withdrawing credentials already issued without a status reference.
  • Status for credentials issued by other issuers, and wallet-side behaviour.
  • Changing the approval rules for reinstatement.

Related

  • #568 (representative credential lifecycle), #57 (registry-backed OID4VCI issuance)
Vorherrschende Sprache
Rust
Sterne
2
Forks
0
Ø Merge
9 Std. 48 Min.
Gemergte PRs (30 T.)
151

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus registrystack/registry-stack

Alle Issues in registrystack/registry-stack

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.