did-resolution icon indicating copy to clipboard operation
did-resolution copied to clipboard

Expand relative URLs to absolute URLs in "id" fields

Open peacekeeper opened this issue 6 years ago • 1 comments
trafficstars

This issue tracks an idea described here by @msporny: https://github.com/w3c-ccg/did-spec/issues/97#issuecomment-512518247

DID Resolvers could always modify the "just fragment identifiers" in a DID Document to be the entire DID plus fragment.

Related to https://github.com/w3c-ccg/did-resolution/issues/9

peacekeeper avatar Jul 17 '19 20:07 peacekeeper

This could also be controllable via an input option for DID Resolution.

peacekeeper avatar Oct 09 '19 20:10 peacekeeper

This was discussed during the did meeting on 23 January 2025.

View the transcript

w3c/did-resolution#40

markus_sabadello: This is an extension. Makes them easier to consume but could be an extension.

<Zakim> JoeAndrieu, you wanted to ask about expansion

<Zakim> manu, you wanted to support expansion in core spec.

JoeAndrieu: Not sure of the idea of extension -- DID Method specific. Can't verify the DIDDoc if there are extensions.

manu: Feature is only for a DID URLs -- fragments. "#key-1" -- should use automatically mean that the DID is prepended.

manu: Should be in the core, so there is no need to repeat the DID everywhere and creates opportunity for errors.

markus_sabadello: Not DID Method specific. You get the DIDDoc as is, and then could do transformations.

<Zakim> JoeAndrieu, you wanted to say it still doesn't apply to did:btc1

JoeAndrieu: You lose independent verification if the resolver gives something back other than the DIDDoc.

manu: Presumed it to be a flag so not needed.


pchampin avatar Jan 24 '25 14:01 pchampin

This was discussed during the did meeting on 23 January 2025.

I do not think we reached consensus on what to do with this issue.

@msporny advocated for it to be introduced into the core spec, as a flag that could be passed to the resolver.

@jandrieu had concerns about it effecting the independent verifiability of resolution results if the DID document is transformed by the resolver.

Lets continue the discussion here. Anyone else feel strongly about this issue?

wip-abramson avatar Jan 30 '25 12:01 wip-abramson

+1 to putting it in resolution spec, as optional and default off

jandrieu avatar Feb 13 '25 16:02 jandrieu

Closing, since https://github.com/w3c/did-resolution/pull/126 has been merged.

peacekeeper avatar Mar 16 '25 17:03 peacekeeper