2.1 · Identifiers and keysWorking
Keys, verification methods and controllers
The document a decentralized identifier (DID) resolves to lists three kinds of thing. Verification methods are keys. Verification relationships say what each key may do: authenticate, sign statements, agree encryption keys, or delegate. Services are addresses where the identifier’s controller can be reached. The controller is whoever may change the document.
A company’s register entry, listing its authorised signatories and what each may sign.
Where it breaks:
- The powers belong to keys, not to people.
- The entry is checked with cryptography, not by a clerk.
- A key listed only for authentication must not be accepted as the signature on a credential: each power is checked separately.
A verification relationship expresses the relationship between the DID subject and a verification method.
Keys are listed as verification methods W3C-DID-CORE-1.0 §5.2, and endpoints as services W3C-DID-CORE-1.0 §5.4. The controller is defined for any controlled identifier document, not only for DIDs W3C-CID-1.0 §2.1.2.
| Relationship | The key may | Used when |
|---|---|---|
| Authentication | Prove it is the controller | Logging in; answering a challenge |
| Assertion method | Sign statements, such as credentials | Issuing; a verifier checks the issuer’s key is listed here |
| Key agreement | Agree encryption keys | Encrypted messaging (7.5 DIDComm messaging) |
| Capability invocation and delegation | Use or hand on authority | Updating the document; delegating |
- Anyone who resolves the identifier sees every key and service in its document. That is why a public document carries no personal data (1.4 Verifiable data registries, and what a ledger is not).
- A document listing a key does not say who in the world controls it: that needs a credential about the controller, or a trust framework (9.1 Trust frameworks and trust registries).
- W3C-CID-1.0 Controlled Identifiers v1.0
- W3C-DID-CORE-1.0 Decentralized Identifiers (DIDs) v1.0