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

[INJICERT-789]: Added a new wellknown endpoint for did.json and simplified the docker compose file #166

Open
wants to merge 1 commit into
base: release-0.10.x
Choose a base branch
from

Conversation

vishwa-vyom
Copy link
Member

New changes are tested in local docker compose setup.
Since rancher was not working, I was not able to test this in dev1 env.
But we can test in dev1 env using the below docker image once the rancher is up.

vishwavyom/inji-certify:release-0.10.x (Not additional config changes required, if the existing setup is in alignment with release-0.10.x branch, then these changes should work without any issues)

@vishwa-vyom
Copy link
Member Author

http://localhost:8090/v1/certify/issuance/.well-known/did.json - this URL will provide the full did.json and the same can be hosted in a github page and the verification will start working without the need to use a python script to calculate the multibase.

Also later, helm chart can be changed to add a virtual service rewrite to use this as direct DID resolution URL.

@gsasikumar
Copy link
Member

Hosting in GitHub pages is nothing to do with this correct? As per the issuer onboarding we should create the did.json automatically or we should let the issuer to configure his did.json from a different web or eth or another resolvers of his choice

@vishwa-vyom
Copy link
Member Author

Hosting in GitHub pages is nothing to do with this correct? As per the issuer onboarding we should create the did.json automatically or we should let the issuer to configure his did.json from a different web or eth or another resolvers of his choice

That's right Sasi, this enhancement will provide a full did.json, which can we used for DID resolution.
Currently we use the GitHub pages for hosting the did json for did:web resolution, but we need to get the multibase of the public key using a python script to create the did.json file and then host in GitHub pages.

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

Successfully merging this pull request may close these issues.

2 participants