Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

Credential status (reference service)

Source services/public-services/README-status.md

On this page
  1. Reference snapshot
  2. Entries in the snapshot
  3. API

A W3C Bitstring Status List publisher for the participant credentials of draft OIP-0015 (CRED-4). Code: obsp_public/status.py. API: obsp-credential-status.openapi.yaml.

Operation Behaviour
POST /v1/lists/{listId}/entries allocates an index at random among the unused ones (an index says nothing about issue order) and answers the credentialStatus entry to put in the credential (BitstringStatusListEntry, purpose revocation, statusListCredential uni:status-list:<listId>)
.../{index}/revoke final
.../{index}/suspend, .../{index}/reinstate reversible; a revoked entry answers 409
GET /v1/lists/{listId} the signed revocation list: a credential-status-list document valid against the draft schema
GET /v1/lists/{listId}/suspension the signed suspension list (see below)
GET /v1/key the public key that signs the lists

Every write needs the operator token. The list documents follow draft OIP-0015 exactly: encodedList is the multibase base64url (u) of the GZIP-compressed bitstring, bit 0 the most significant bit of byte 0, 131 072 entries by default; securing is COSE_Sign1 over the RFC 8785 bytes of credential, detached, protected header {1: -19, 3: "application/vc", 4: kid, 16: "application/vc+cose"} in deterministic CBOR, with a key record UNI as kid. The tests verify the draft’s own example list with this code, so the two agree.

Suspension is outside OIP-0015. The draft accepts the revocation purpose only (its schema refuses suspension), so a verifier following CRED-4 ignores suspension. The service still offers it as a separate W3C list with statusPurpose suspension, marked in extensions["obsp.status"]; it is not an OIP-0015 document and fails that schema on purpose.

Each list is valid for --validity seconds (default one day; a verifier fails closed once it lapses) and is re-signed on every change and, on read, once half its validity has passed. State is one JSON file, replaced atomically. Threat note: docs/security/service-credential-status.md.

Reference snapshot

Snapshot of the public reference services run locally with published TEST keys. It shows the shapes the services answer with; it is not the record of any deployed service.

Example records only: no implementation is listed in IMPLEMENTATIONS.md, and a level shown here is a test value, not a level reached.

Entries in the snapshot

EntryPurposeRevokedSuspended
uni:status-list:participants#42851revocationyesno
uni:status-list:participants#15025revocationnoyes
uni:status-list:participants#33769revocationnono

API

The API document: every operation and object of this service.