Closed lo1ol closed 2 years ago
Please check https://github.com/alonbl/pkcs11-helper/tree/always-auth branch. There is a new PKCS11H_PROVIDER_PROPERTY_INIT_ARGS property which may be set using pkcs11h_setProviderProperty.
Thanks. Everything is fine)
Hello,
Recently we've noticed some problems of using pkcs11-helper with multithread applications (OpenVPN). The root of the problem is impossibility to pass C_Initialize flags (namely CKF_OS_LOCKING_OK).
Passing flags using Enviroment Variable is the bad way to solve the problem. For example, TunnelBlick setups openvpn only by a configuration file and command line arguments.
What do you think about adding init arguments to the pkcs11h_addProvider function signature? Could you please suggest some alternatives?