didcomm-messaging
didcomm-messaging copied to clipboard
Incompatibility with the did peer specs in the 'serviceEndpoint'
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"]
}
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
PR needed on this repo: https://github.com/w3c/did-spec-registries/
Here is the PR https://github.com/w3c/did-spec-registries/pull/548