PeculiarVentures / node-webcrypto-p11

A WebCrypto Polyfill for Node in typescript built on PKCS#11.
MIT License
44 stars 15 forks source link

Fix error handling in computeID method #85

Closed microshine closed 1 month ago

microshine commented 1 month ago

The computeID method in the CryptoCertificate class has been updated to handle errors when exporting keys. Previously, if the key export method failed, the method would throw an exception and stop processing. Now, if the export fails, the method will skip that key and continue processing. This fix ensures that the computeID method can handle errors gracefully and provides a more robust behavior.

github-actions[bot] commented 1 month ago

NPM package v2.6.6 has been published 🎉