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
❌ "proofValue" field when decoded to raw bytes, MUST be 64 bytes in length if the associated public key is 32 bytes or 114 bytes in length if the public key is 57 bytes.
Error: "publicKeyMultibase" has invalid header bytes: "vc.apicatalog.com/key/test.json".
at new Ed25519VerificationKey2020 (node_modules/@digitalbazaar/ed25519-verification-key-2020/lib/Ed25519VerificationKey2020.js:54:13)
at Function.fromFingerprint (node_modules/@digitalbazaar/ed25519-verification-key-2020/lib/Ed25519VerificationKey2020.js:204:12)
at DidKeyDriver.get (node_modules/@digitalbazaar/did-method-key/lib/DidKeyDriver.js:140:44)
at getPublicKeyBytes (tests/helpers.js:44:37)
at Context.<anonymous> (tests/10-create.js:104:35)
The test suite is set up to use did:key as the verification method (we can't support arbitrary verification methods -- did:key is the simplest one we can use). The test suite should be checking to make sure the verificationMethod is a did:key before trying to do something w/ it.
@msporny Perhaps we should require vendors to provide a did resolver for their did key or method in the future? That way they can use did methods we don't have implementations of.
Hi,
a test on proofValue length fails in
when the verification method is not DID key. e.g.
The suite just strips
https://
from the URL and treats the URL as DID key.The text was updated successfully, but these errors were encountered: