Skip to content

Test Vectors - Decentralized Identifiers #167

@thereisnogabe

Description

@thereisnogabe

This issue outlines gaps in testing of various DID methods and DID capabilities. Tasks may have partial test coverage today (linked if true). If sufficient test coverage already exists, please close the task and link the relevant test.

Tasks may need discussion on the best way to approach them. The goal is to create a set of language agnostic test vectors that give us sufficient confidence in maintaining interoperability of features between implementations.

https://tbd54566975.github.io/web5-spec/#decentralized-identifiers-dids
https://tbd54566975.github.io/web5-spec/#did-document-data-model
https://tbd54566975.github.io/web5-spec/#did-resolution-metadata-data-model
https://tbd54566975.github.io/web5-spec/#did-document-metadata-data-model

did:jwk

  • did:jwk create and resolve for all supported key types
    • (secp256k1, ed25519, secp256r1, and x25519) today's tests
    • access verification method (it exists, it does not exist)
  • did:jwk serialize and deserialize to/from JSON DID Documents to JWKs

did:web

  • did:web create with all features
    • multiple verification methods, verification relationships, services, different key types
  • did:web update
    • multiple verification methods, verification relationships, services, different key types
  • did:web resolve via a direct network request today's tests
    • valid resolution
    • invalid resolution (does not exist, bad certificate)
    • access verification methods (it exists, it does not exist)
  • did:web serialize and deserialize to/from JSON DID Documents to JWKs

did:dht

Can be based off of the spec test vectors.

  • did:dht create and publish today's tests
    • with multiple options: verification methods, relationships, services, types, gateways, etc.
  • did:dht update any/all properties
  • did:dht resolve today's tests
    • local resolution as a fallback
    • resolve via a DHT node/gateway
    • access verification methods (it exists, it does not exist)

DID Data Models

  • Support DID resolution with DID resolution metadata and DID document metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    didrelated to decentralized identifierstestingrelated to new or existing tests

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions