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
When attempting to create an ION DID with didManagerCreate, I get a "TypeError: crypto__WEBPACK_IMPORTED_MODULE_2___default(...).createHash is not a function" error.
Creating did:ethr and did:key work fine. My app uses the crypto module and createHash function elsewhere with no issues.
The error points to @transmute/did-key-secp256k1 -> publicKeyJwkFromPublicKeyHex -> getKid
The did-provider-ion package.json has the dependency fixed at "@transmute/did-key-secp256k1": "0.2.1-unstable.42", but 0.3.0 is current. Maybe that's the issue.
Versions (please complete the following information):
Veramo: next
Browser Brave
Node Version 16.17.0
Ionic 6.18.1
Capacitor 4.5.0
Angular 14.2.11
The text was updated successfully, but these errors were encountered:
#1074 fixes part of this. The createIdentifier now fails with "digest should be a Buffer" message, which is coming from the multihashes.encode statement in computeCommitmentFromJwk.
Bug severity
4
Describe the bug
When attempting to create an ION DID with didManagerCreate, I get a "TypeError: crypto__WEBPACK_IMPORTED_MODULE_2___default(...).createHash is not a function" error.
Creating did:ethr and did:key work fine. My app uses the crypto module and createHash function elsewhere with no issues.
The error points to @transmute/did-key-secp256k1 -> publicKeyJwkFromPublicKeyHex -> getKid
The did-provider-ion package.json has the dependency fixed at "@transmute/did-key-secp256k1": "0.2.1-unstable.42", but 0.3.0 is current. Maybe that's the issue.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: