Miroshin Stepan
Miroshin Stepan
`/Users/vsdi/Developer/test.pfx` is PFX file. When you load PKCS#11 library, it must be a file with `dylib` extension. So you use incorrect file. Are you trying to read a certificate from...
`pvpkcs11` is C library that allows to use OS Crypto API and implements PKCS#11 interface. It's not pkcs11js. `pkcs11js` is NodeJS C++ addon for PKCS#11 libraries usage https://github.com/PeculiarVentures/pvpkcs11
`Slot 1` is not initialized. It could be a reason of the script failing https://github.com/PeculiarVentures/fortify/issues/489#issuecomment-1173547756 @alvesluc Do have the same problem with the hidden certificate? Could you check out which...
I'd like to understand which provider (PKCS#11) library doesn't show that certificate. I guess it's `/Applications/Fortify.app/Contents/Resources/app/libpvpkcs11.dylib` and the reason could be the custom KeyChain usage.
You can call that script with `pvpkcs11` library Please update the script before running ```js import * as graphene from "graphene-pk11"; import * as x509 from "@peculiar/x509"; // !NOTE Update...
I've reviewed the log file @alvesluc had shared. I don't see any log records with problems. @Tallesecs Could you answer some questions about the hidden certificate? - You shared a...
@rmhrisk Could you check this? card.json v.1.0.13 has ```json { "cards": [ { "atr": "3B7D94000080318065B0831100C883009000", "name": "Personal identity card (ID card) of Republic of Lithuania", "driver": "71789068c5ff4891aeeaf7fb9608a22f" } ], "drivers":...
If you are using pvpkcs11.dll can you enable log for it and share logs with me? ### pvpkcs11 logging https://github.com/PeculiarVentures/pvpkcs11#enviroment-variables ### pvpkcs11 log file ``` %USERPROFILE%\AppData\Local\Temp ```
There is [graphene-pk11](https://www.npmjs.com/package/graphene-pk11) module. It wraps `pkcs11js` and allows using PKCS#11 interface easier. ```ts import * as graphene from "graphene-pk11"; const softHsm = graphene.Module.load("/usr/local/lib/softhsm/libsofthsm2.so"); softHsm.initialize(); try { const slot =...
It throws an exception on trying to get a list of certificates/requests Here are templates for `C_FindObjectsInit` function https://github.com/PeculiarVentures/node-webcrypto-p11/blob/master/src/cert_storage.ts#L8-L11 ``` Error: CKR_ATTRIBUTE_VALUE_INVALID:19 at Error (native) PKCS11::C_FindObjectsInit:395 ```