didcomm-messaging icon indicating copy to clipboard operation
didcomm-messaging copied to clipboard

Incompatibility with the did peer specs in the 'serviceEndpoint'

Open FabioPinheiro opened this issue 1 year ago • 3 comments

In the DID Document the JSON path service.serviceEndpoint The examples on this specs are incompatible with the did peer specs

{
    "id": "did:example:123456789abcdefghi#didcomm-1",
    "type": "DIDCommMessaging",
    "serviceEndpoint": {
        "uri": "https://example.com/path",
        "accept": ["didcomm/v2","didcomm/aip2;env=rfc587"],
        "routingKeys": ["did:example:somemediator#somekey"]
    }
}

https://identity.foundation/peer-did-method-spec/#multi-key-creation

{
  "id": "did:peer:2.E....#didcommmessaging-0",
  "type": "DIDCommMessaging",
  "serviceEndpoint": "https://example.com/endpoint",
  "routingKeys": ["did:example:somemediator#somekey"],
  "accept": ["didcomm/v2", "didcomm/aip2;env=rfc587"]
}

FabioPinheiro avatar Apr 05 '23 18:04 FabioPinheiro

The peer-did-method was addressed by PR https://github.com/decentralized-identity/peer-did-method-spec/pull/62

This was also fixed on the did-core-spec

But we still need to fix on did-spec-registries

FabioPinheiro avatar Oct 27 '23 17:10 FabioPinheiro

PR needed on this repo: https://github.com/w3c/did-spec-registries/

TelegramSam avatar Feb 05 '24 20:02 TelegramSam

Here is the PR https://github.com/w3c/did-spec-registries/pull/548

FabioPinheiro avatar Mar 04 '24 18:03 FabioPinheiro