PeculiarVentures / pvpkcs11

pvpkcs11 consists of a input validation library and a set of PKCS#11 implementations that wrap operating system and browser cryptographic implementations.
MIT License
32 stars 7 forks source link

Implement LoadProviderCSP #38

Open microshine opened 5 years ago

microshine commented 5 years ago

https://github.com/PeculiarVentures/pvpkcs11/blob/master/src/mscapi/sc_session.cpp#L285

pvpkcs11 adds a slot for new SmartCard but throws CKR_FUNCTION_NOT_SUPPORTED exception on C_OpenSession

It must fix https://github.com/PeculiarVentures/fortify/issues/138 issue

Loading C:\Program Files\Fortify\pvpkcs11.dll
Error: CKR_FUNCTION_NOT_SUPPORTED:84
  at Error (native) PKCS11:C_OpenSession:329