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
The Eclipse Dataspace Connector (EDC) requires the users to use EC signatures instead of RSA.
The self-description-signer does not support EC keys:
β― node index.js
π Loaded ./config/self-description.json
π Hashed canonized SD 8fc77f3ec2a1add9803dd55cc8d833c916521d2310f7e93e8310c5f21920e07c
TypeError: Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss
at keyForCrypto (self-description-signer/node_modules/jose/dist/node/cjs/runtime/node_key.js:53:23)
at sign (self-description-signer/node_modules/jose/dist/node/cjs/runtime/sign.js:23:91)
at FlattenedSign.sign (self-description-signer/node_modules/jose/dist/node/cjs/jws/flattened/sign.js:68:55)
at CompactSign.sign (self-description-signer/node_modules/jose/dist/node/cjs/jws/compact/sign.js:14:43)
at sign (self-description-signer/index.js:48:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createProof (self-description-signer/index.js:63:10)
at async main (self-description-signer/index.js:173:19)
kettenbach-it
changed the title
[Enhancement] Support for ECDSA Keys because EDC required them
[Enhancement] Support for ECDSA Keys because EDC requires them
Oct 26, 2022
Motivation / Problem
The Eclipse Dataspace Connector (EDC) requires the users to use EC signatures instead of RSA.
The self-description-signer does not support EC keys:
Therefore I can't use the web:dids for EDC.
Solution
self-description-signer should support EC keys.
Alternatives
None
Additional context
Pull request for logging key signing errors: #22
The text was updated successfully, but these errors were encountered: