AEGIS by ProtoworksDevelopers
Menu

LearnVerifiable credentials

Verifiable credentials, from the texts that define them.

An introduction to verifiable credentials and self-sovereign identity, for a person holding one and for a developer building with them. Every quotation is checked against the specification it comes from, at the version named, and the tools run the specifications’ own examples in your browser.

Paths

Four ways through the same pages, each in the order its reader needs them.

Holder
A person using a wallet. Plain language throughout; the citations sit in a collapsed footer. Begin with H1 What a digital credential is.
Developer
Integrating issuance or verification. Begin with 0.1 What verifiable credentials are for, and what verifying one does not tell you.
Operator
Running an agent and its mediator. Begin with 8.1 Wallets.
Architect
Designing an ecosystem or choosing a stack. Begin with 0.1 What verifiable credentials are for, and what verifying one does not tell you.
Contents

Start here

What verifiable credentials are for, which path to take, and how to read these pages.

  1. 0.1What verifiable credentials are for, and what verifying one does not tell you
  2. 0.2Choose your path: holder, developer, operator, architect
  3. 0.3How to read these pages: levels, citations, “verified against”, and where analogies break

Using a digital credential

For anyone holding a credential in a wallet, in plain language.

  1. H1What a digital credential is
  2. H2Getting one: what happens when you accept a credential
  3. H3Sharing: what you are asked for, what you can refuse, what the other side keeps
  4. H4Who can see what
  5. H5If your phone is lost or replaced
  6. H6When a credential is withdrawn or expires
  7. H7How the verifier knows the credential is real

The model

Credentials, claims, the roles, presentations, registries and assurance.

  1. 1.1Credentials and claims
  2. 1.2Issuers, holders, subjects, verifiers
  3. 1.3Presentations: showing is not handing over
  4. 1.4Verifiable data registries, and what a ledger is not
  5. 1.5Assurance: what was checked before issue

Identifiers and keys

Keys, decentralized identifiers, resolution, methods and certificate chains.

  1. 2.1Keys, verification methods and controllers
  2. 2.2Decentralized identifiers
  3. 2.3Resolving a DID: three things come back
  4. 2.4DID methods, and what each one trusts
  5. 2.5Certificates and X.509 chains in credential ecosystems

Credential formats

How a credential is secured, the formats in use, and how to choose one.

  1. 3.1Securing a credential: enveloping and embedded proofs
  2. 3.2SD-JWT and SD-JWT VC
  3. 3.3mdoc
  4. 3.4AnonCreds
  5. 3.5Types, schemas and display metadata
  6. 3.6Choosing a format

Privacy

Minimisation, selective disclosure, unlinkability and zero-knowledge proofs.

  1. 4.1Data minimisation and selective disclosure
  2. 4.2Unlinkability, in four directions
  3. 4.3Predicates and zero-knowledge proofs
  4. 4.4Selective disclosure is not zero knowledge
  5. 4.5Who can see what, across the whole lifecycle

Binding a credential to its holder

The three meanings of holder binding, and each mechanism.

  1. 5.1Holder binding: three meanings
  2. 5.2Key binding and device binding
  3. 5.3Link secrets
  4. 5.4Claims-based binding and bearer credentials
  5. 5.5Wallet attestation and key attestation
  6. 5.6Binding mechanisms compared

Status and revocation

How a credential’s standing changes after issue, and what each mechanism leaks.

  1. 6.1Why a credential’s standing changes after issue
  2. 6.2Bitstring Status List
  3. 6.3Token Status List
  4. 6.4AnonCreds revocation registries
  5. 6.5Short-lived credentials and validity windows
  6. 6.6Status mechanisms compared, and what each one leaks

Exchange protocols

Issuance and presentation over OpenID for Verifiable Credentials and over DIDComm.

  1. 7.1Issuance with OpenID4VCI
  2. 7.2Presentation with OpenID4VP and DCQL
  3. 7.3The browser and operating system: the Digital Credentials API
  4. 7.4In person: proximity presentation
  5. 7.5DIDComm messaging
  6. 7.6Invitations and connections
  7. 7.7Issue-credential and present-proof over DIDComm
  8. 7.8DIDComm or OpenID4VC?

Agents and wallets

Wallets, agents, controllers, mediators and what each can see.

  1. 8.1Wallets
  2. 8.2Agents and controllers
  3. 8.3“Cloud agent”: what it means and why the term is deprecated
  4. 8.4Mediators and relays: why they exist
  5. 8.5What a mediator can see
  6. 8.6Setting up mediation and collecting messages

Trust

Trust frameworks, registries, trusted lists, federation, and how a verifier decides.

  1. 9.1Trust frameworks and trust registries
  2. 9.2Trusted lists and lists of trusted entities
  3. 9.3Federation and trust chains
  4. 9.4Asking a registry: authorisation and recognition queries
  5. 9.5The verifier is checked too
  6. 9.6How a verifier decides, end to end

Operating

Running agents, mediators, issuers and verifiers.

  1. 10.1Running an agent: topology, storage, keys, scaling
  2. 10.2Mediation in production: capacity, retention, herd privacy
  3. 10.3Running an issuer: keys, status lists, batch issuance, rotation
  4. 10.4Running a verifier: the checks, in order
  5. 10.5Lost devices, compromised keys, withdrawn issuers

Architecture

Designing an ecosystem and choosing its parts.

  1. 11.1Designing an ecosystem: roles, governance, what to standardise
  2. 11.2Decision guide: format, protocol and trust mechanism
  3. 11.3Threat models for the common scenarios
  4. 11.4Regulation and assurance frameworks, as references
Reference
The glossary
The words these pages use, what each means here, and the words the field uses in conflicting senses.
The standards register
Every text the pages cite, with the version they were checked against and its status.
The tools
Tools that run in your browser on the specifications’ own examples and test vectors, and send nothing.
The changelog
What changed in these pages, and when.