PeculiarVentures / graphene

A simple layer for interacting with PKCS #11 / PKCS11 / CryptoKI for Node in TypeScript. (Keywords: Javascript, PKCS#11, Crypto, Smart Card, HSM)
MIT License
169 stars 34 forks source link

Fixed error: Cannot read properties of undefined (reading 'replace') ... #158

Open wiktorsikora opened 10 months ago

wiktorsikora commented 10 months ago

…in Module.getInfo method

Error occurs when C_GetInfo method does not return manufacturerID or libraryDescription. This breaks module initialization method.