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

Doesn't handle bls type zUC7 #151

Open
brianorwhatever opened this issue Sep 16, 2021 · 1 comment
Open

Doesn't handle bls type zUC7 #151

brianorwhatever opened this issue Sep 16, 2021 · 1 comment

Comments

@brianorwhatever
Copy link

This string is only found in the readme. The credentials from the vc-http-api test suite all use this did:key type which is the one found in the spec https://w3c-ccg.github.io/did-method-key/#bls-12381. These VCs are failing using this library. Maybe I am missing something?

@OR13
Copy link
Sponsor Member

OR13 commented Sep 20, 2021

Yep, this is a bug.

https://github.com/transmute-industries/did-key.js/blob/main/packages/did-key.js/src/index.ts#L26

This file is missing the prefixes for G1 and G2 by themselves.

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