Skip to content

Add optional service endpoint discovery extension#43

Open
chongkan wants to merge 1 commit into
w3c-ccg:mainfrom
chongkan:optional-service-discovery
Open

Add optional service endpoint discovery extension#43
chongkan wants to merge 1 commit into
w3c-ccg:mainfrom
chongkan:optional-service-discovery

Conversation

@chongkan

Copy link
Copy Markdown

Summary

Adds a non-normative Service Endpoint Discovery section as an optional extension to did:pkh resolution.

Two discovery mechanisms

  1. Well-known endpoint — resolver queries a service registry URL for endpoints registered to a CAIP-10 address
  2. Linked DID inheritance — follow alsoKnownAs to a richer DID method and inherit its service endpoints

Backwards compatible

  • Disabled by default (serviceDiscovery: false in resolution options)
  • Core generative resolution is unchanged
  • Implementations that don't support this produce identical DID Documents

Why this matters

did:pkh currently has no service endpoints. This means a verifier who resolves a did:pkh cannot discover how to send VP requests, initiate DIDComm messaging, or verify domain ownership. This extension provides a path without changing did:pkh's core design.

Related: #38 | W3C tracking

Signed-off-by: Eduardo Chongkan e.chongkan@gmail.com

Non-normative extension for service endpoint discovery:
- Well-known endpoint pattern for service registries
- Inheritance from linked DID via alsoKnownAs
- Resolution options (serviceDiscovery, serviceRegistryUrl)
- Backwards compatible: disabled by default, core resolution unchanged

Addresses w3c-ccg#38

Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
@oed

oed commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator

This doesn't really make any sense. The point of DID PKH is to be a purely generative DID method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants