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

did:key with jwk_jcs-pub multicodec #536

Open
Voronar opened this issue Oct 24, 2023 · 1 comment
Open

did:key with jwk_jcs-pub multicodec #536

Voronar opened this issue Oct 24, 2023 · 1 comment

Comments

@Voronar
Copy link
Contributor

Voronar commented Oct 24, 2023

Hello!
What do you think about adding 'jwk_jcs-pub' multicodec handler as a feature flag for did-key crate?

More about the subject: w3c-ccg/did-method-key#63.

P.S. DID document resolving is not a problem, but one's creation is a bit trickier. We can define a new method under a feature flag on DIDKey struct named generate_jwk_jcs_pub to handle this specific case.

P.P.S. If anyone interested in the subject I can submit PR with an implementation.
main...Voronar:ssi:did_key_jwk_jcs_pub

@ianhamilton87
Copy link

FYI, I have a PR for the resolution of did:key with that codec.
The EBSI is specifying that DID method + multicodec to identify people.

I did avoid the creation as I saw creation being rather tricky since you couldn't just base the multicodec entirely off the type of key presented. @Voronar - i'd be interested in your implementation of creating such a key!

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

2 participants