feat: add driver for did:trail#546
Open
chrishooooo-netizen wants to merge 1 commit into
Open
Conversation
Adds the did:trail Universal Resolver driver to the DIF Universal Resolver. The did:trail method is defined at https://trailprotocol.org and implements the W3C DID Core specification. Driver image: ghcr.io/trailprotocol/did-trail-universal-resolver-driver Driver repo: https://github.com/trailprotocol/did-trail-universal-resolver-driver Tier 0 (self-signed) DIDs resolve without a registry. Org and agent mode resolution will be added once the TRAIL Registry is live. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 tasks
Author
|
Just a friendly second ping on this one - happy to address any review feedback. The driver image is published and resolves did:trail DIDs end-to-end against the TRAIL spec v1.2.0-draft. Test vector: did:trail:self:zEFoeeXsQtCAK9itr35Hf8W2HF5tAPTrKUKK1nC3RnUx4 The related W3C did-extensions registration (w3c/did-extensions#669) is in active review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a driver for the did:trail DID method.
did:trail is a W3C DID method for AI agent identity, built on DID Core v1.1 with DataIntegrityProof / eddsa-jcs-2023. Three trust tiers: self-signed (Tier 0), org (Tier 1), agent (Tier 2).
ghcr.io/trailprotocol/did-trail-universal-resolver-driver:latestTier 0 (self-signed) is implemented and resolves without a registry — the public key is encoded in the DID itself. Tier 1 and Tier 2 require the TRAIL Registry (in development); the driver returns
notFoundfor those until the registry is live.Test identifier
Changes
uni-resolver-web/src/main/resources/application.yml— driver pattern + test identifierdocker-compose.yml—driver-did-trailservice on port 8086