You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The @veramo/did-provider-key package is creating unusual keys, starting with did:key:z7r8... instead of did:key:zQ3s...
To Reproduce
constidentifier=agent.didManagerCreate({provider: 'did:key',options: {keyType: 'Secp256k1'}})console.log(identifier.did)// prints did:key:z7r8...agent.resolveDid({didUrl: identifier.did})// throws unsupported key type
Details
Some DID resolvers, including the one provided in @veramo/did-provider-key fail to resolve these DIDs since they match by prefix.
This seems to be caused by the fact that the Secp256k1 keys internally managed by Veramo (in kms-local) are uncompressed.
Versions (please complete the following information):
Veramo: 5.4.1 (but this probably applies to all previous versions that implement the did:key provider)
The text was updated successfully, but these errors were encountered:
Bug severity
3
Describe the bug
The
@veramo/did-provider-key
package is creating unusual keys, starting withdid:key:z7r8...
instead ofdid:key:zQ3s...
To Reproduce
Details
Some DID resolvers, including the one provided in @veramo/did-provider-key fail to resolve these DIDs since they match by prefix.
This seems to be caused by the fact that the Secp256k1 keys internally managed by Veramo (in kms-local) are uncompressed.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: