Closed amontero0611 closed 3 years ago
Got a possible answer: I am using ECDSA certificates (those provided by the Hyperledger Fabric CA) and they are not supported by node-forge. Will seek for an alternative. Closing the issue.
@amontero0611 did you ever find an alternative? thanks.
Hi guys, I am stuck and would appreciate any help. I am getting the error above when trying to sign a document. This is my code:
And the error follows: ....\node_modules\node-signpdf\dist\signpdf.js:103 publicKey ^ TypeError: Cannot destructure property 'publicKey' of 'certBags[i].cert' as it is null.
Can someone please help figuring out what I am doing wrong? Thank you in advance.