Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Path Based Option for DID Config #63

Open
OR13 opened this issue Mar 15, 2021 · 4 comments
Open

Add Path Based Option for DID Config #63

OR13 opened this issue Mar 15, 2021 · 4 comments

Comments

@OR13
Copy link
Contributor

OR13 commented Mar 15, 2021

Similar to how did web supports path based routing, it should be possible to say that a URL not an origin... is linked to a DID...

this would allow websites like github pages and any non DNS admins to use the spec.

@bumblefudge
Copy link
Contributor

I vaguely remember at one discussion of DID:Web (maybe the IIW session on it?), someone mentioned domain-only as being a feature, not a bug, in that it provided a certain reduced scope (I can't remember if for parsing or for disambiguation) and that domains typically have security guarantees that paths don't. I suspect bringing in "path-based mode" might be a major change, and maybe origin-only mode and path-mode separately might be usefully distinguished, whether with a property/flag, or by doing path-mode in a separate spec? To avoid all did:webs being assumed to be (and treated as) interchangeable? Just spitballing here, not an active member of this project so take all my input with a big ol' salt lick 🧊 .

@OR13
Copy link
Contributor Author

OR13 commented Mar 15, 2021

@bumblefudge did web supports path based DIDs.... http://did.actor/

currently did config does not support anything but web origins... meaning vendors who are service providers will be doing this:

customer-1.vendor1.example
customer-2.vendor1.example

customer-1.vendor2.example
customer-2.vendor2.example

instead of this:

vendor1.example/customer/1
vendor1.example/customer/2

vendor2.example/customer/1
vendor2.example/customer/2

The later requires DNS changes and is generally more secure, the former would work with off the shelf tooling (like the did actor github pages example I provided).

The proposal is not one or the other, its to support both, so that people don't automatically gravitate towards did web, because of how flexible it is.... which they will probably do anyway :)

@bumblefudge
Copy link
Contributor

Oh wow, thanks for explaining! Didn't realize this. Not sure what the future life of this spec is, should we put it on the agenda for some future meeting at ID WG? is a version already cut?

@tmarkovski
Copy link
Member

I assumed that paths can just be used with the current spec even, so thanks for clarifying. Definitely worth adding language to support paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants