Miroshin Stepan

Results 356 comments of Miroshin Stepan

```js { "id": "993988460d8f49a2ac519a2935f11533", "name": "OpenSC driver", "file": { "osx": "/Library/OpenSC/lib/pkcs11/opensc-pkcs11.so", "linux": [ "/usr/lib/opensc-pkcs11.so", "/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so" ], "windows": "%WINDIR/System32/opensc-pkcs11.dll" } } ```

I've reproduced that exception. Looking for solution how to fi it

It throws `Module did not self-register` for the next script ```js process.dlopen(module, path.resolve(__dirname, "../build/Release/pkcs11.node")); process.dlopen(module, path.resolve(__dirname, "../build/Release/pkcs11.node")); ``` I did some experiments with HellloWorld examples (C++ addons and C++ N-API...

It would be nice to see your log file to understand it. Looks like some Web app connects to your Fortify and requires private information getting. Use Fortify settings to...

It's interesting, it throws that error for `NSS Certificate DB` provider. Is it Mozilla Firefox database?

See dialog caption. It shows provider name. In this example, the slot name is `My slot 0`

What Web App do you use? Do you use Fortify web components? Looks like web app must list all certificates with private keys. This process requires Login operation for all...

@SpiReCZ do you know which PKCS11 libraries your reader uses?

@zercek23 Have you seen [graphene-pk11](https://www.npmjs.com/package/graphene-pk11) and [node-webcrypto-p11](https://www.npmjs.com/package/node-webcrypto-p11) modules? `node-webcrypto-p11` allows using RSA and ECDSA mechanisms easier. If you've got the public key in SoftHSM storage just use `crypto.keyStorage.getItem` method. If...

Fortify prompts password if PKCS#11 slot has got a special flag `CKF_LOGIN_REQUIRED`. Looks like your 'NSS Certificate DB' provider returns that flag. https://github.com/PeculiarVentures/node-webcrypto-p11/blob/cfe8b943a954553ec46600be692c1d1e51917535/src/crypto.ts#L86