-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Test case
● 5.x Core Properties - did:orb - DID Orb Test Suite - SecureKey › did:orb:ipfs:QmS4ZME5uEPtQ2DFDwhSZYtLxzFxCYjJ6kC7o3ypwanzFm:EiACG5GI9dK1fjnCMYMA6ZFhtP75HVhunEuqW-XDCAU7Ew › 5.2 Verification Methods - The publicKeyJwk property is OPTIONAL. If present, the value MUST be a map representing a JSON Web Key that conforms to [RFC7517].
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
115 | const {publicKeyJwk} = vm;
116 | if(publicKeyJwk) {
> 117 | expect(isValidJwk(publicKeyJwk)).toBe(true);
| ^
118 | }
119 | });
120 | });
at forEach (suites/did-core-properties/did-core-properties.js:117:44)
at Array.forEach (<anonymous>)
at Object.<anonymous> (suites/did-core-properties/did-core-properties.js:114:27)
error
console.log
JOSENotSupported: unsupported EC key curve: BLS12381_G2
at Object.<anonymous>.module.exports.jwkToPem (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/node_modules/jose/lib/help/key_utils.js:281:15)
at Object.asKey (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/node_modules/jose/lib/jwk/import.js:66:13)
at isValidJwk (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/suites/utils.js:29:14)
at forEach (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/suites/did-core-properties/did-core-properties.js:117:18)
at Array.forEach (<anonymous>)
at Object.<anonymous> (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/suites/did-core-properties/did-core-properties.js:114:27)
at Object.asyncJestTest (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /Users/firas.qutishat/gopath/src/github.com/trustbloc/did-test-suite/packages/did-core-test-server/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: 'ERR_JOSE_NOT_SUPPORTED'
}
Metadata
Metadata
Assignees
Labels
No labels