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 ebsi jwk_jcs-pub codec implementation #309

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patatoid
Copy link

Hi,

Running the ebsi compliance tests I needed to resolve ebsi crafted keys and made use of an universalresolver instance to do so. Here is the implementation that I used to pass the tests, with the need to propagate the changes to https://github.com/decentralized-identity/uni-resolver-driver-did-key.

As far as I could perform tests, this implementation works properly resolving the ebsi provided dids from the test suite.

For this implementation, I use the cef-ebsi package which bring issues with the cjs / esm builds, the second commit is an example of integration but I had to manually build the cjs module to push it to npm. There may be better ways to solve this, that said, it is the only one I could find.

Here is a working example (a deployment of https://github.com/malach-it/uni-resolver-driver-did-key):

https://universalresolver.boruta.patatoid.fr/1.0/identifiers/did:key:z2dmzD81cgPx8Vki7JbuuMmFYrWPgYoytykUZ3eyqht1j9Kbowkrd8N32k1hMP7589MHcyNK7C5CYhRki8Qk28SFfQ3S4UECo7cet1N7AMxbyNRdv13955RPTWUk8EnJtBCpP1pDB9gvK1x6zBZArptWqYFC2t7kNA3KXVMH53d9W3QWep

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.

1 participant