pvpkcs11 consists of a input validation library and a set of PKCS#11 implementations that wrap operating system and browser cryptographic implementations.
Error: C_OpenSession
Pkcs11Exception: Error on SecItemCopyMatching
at Open (../../src/osx/session.cpp:277)
at Open (../../src/osx/session.cpp:292)
at OpenSession (../../src/core/slot.cpp:169)
Error: CKR_FUNCTION_FAILED:6
at Error (native) C_OpenSession:311
at Slot.open (/Users/rmh/Downloads/electron-app/node_modules/graphene-pk11/build/slot.js:42:33)
at WebCrypto.open (/Users/rmh/Downloads/electron-app/node_modules/node-webcrypto-p11/built/webcrypto.js:45:34)
at new WebCrypto (/Users/rmh/Downloads/electron-app/node_modules/node-webcrypto-p11/built/webcrypto.js:29:14)