did-key.js
did-key.js copied to clipboard
Doesn't handle bls type `zUC7`
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?
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.