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

Consider supporting HTTP and non-privileged ports for "localhost" DIDs #23

Open
vdods opened this issue Apr 23, 2024 · 1 comment
Open

Comments

@vdods
Copy link
Contributor

vdods commented Apr 23, 2024

In order to ease testing of VDRs, it would be useful to allow unencrypted HTTP and use of an arbitrary port for "localhost" DIDs. Just as in https://w3c-ccg.github.io/did-method-web/#method-specific-identifier the colon should be percent-encoded in order to distinguish it from the path components of the DID. When the domain of the DID is "localhost", then http:// should be used in the DID resolution process instead of https://, because typically the service being tested will not have TLS enabled.

@vdods
Copy link
Contributor Author

vdods commented Jan 21, 2025

Support for non-standard ports has been added in main branch in commit c8ee9f4 though support for use of plaintext HTTP requests is limited to use of DID_WEBPLUS_HTTP_SCHEME_OVERRIDE env var for now.

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

1 participant