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

Remove the .well-known resolution rule #49

Open
OR13 opened this issue Dec 13, 2021 · 6 comments
Open

Remove the .well-known resolution rule #49

OR13 opened this issue Dec 13, 2021 · 6 comments

Comments

@OR13
Copy link
Collaborator

OR13 commented Dec 13, 2021

This issue is raised to discuss potential breaking changes to the resolution rules for did web.

I propose we remove the .well-known resolution rule, and instead handle resolution for naked origins as follows:

did:web:example.com - > https://example.com/did.json

This is just another case of the existing path based routing resolution rules...

A 302 redirect can be configured to preserve any existing did documents.

This would simplify the did to url conversion logic by 50% with no loss of the name space.

@gribneau
Copy link
Contributor

A Well Known URI (RFC 8615 ) for a domain-wide DID would enable a sort of DKIM capability via DID, which I think could have considerable value.

I see that /.well-known/did.json is not currently in the registry.

Are we anticipating that the registry entry will not be forthcoming?

@OR13
Copy link
Collaborator Author

OR13 commented Dec 13, 2021

@gribneau certainly we would need to register it if we continue to use it.

I don't think we loose any potential features by opting not to use .well-known URIs though... there are similar situations today, for example https://github.com/OR13.gpg

@gribneau
Copy link
Contributor

The usage of .well-known predates my involvement. I suppose I assumed that it was already registered or that registration was imminent.

If no registration is underway, we should not use it.

@dmitrizagidulin
Copy link
Collaborator

👍
I'm on board with simplifying the "domain-only" resolution rules to drop the .well-known/ part.

@dmitrizagidulin
Copy link
Collaborator

Addressed by PR #50

@quartzjer
Copy link

I agree with this comment by @tplooker and would 👎 dropping .well-known/.

The did:web ID is machine-translated into a HTTPS URI for automated GETs, it's not intended to be a directly fetch-able URI itself (IMO).

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

4 participants