vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

As a Security Server Administrator I want to be able to configure certain PKCS#11 module properties to support multithreading #218

Closed JyrgenSuvalov closed 6 years ago

JyrgenSuvalov commented 6 years ago

Affected components: - hwtokens Affected documentation: - ug-cp, ig-ss, ig-cs Estimated delivery: - External reference: - https://jira.ria.ee/browse/XTE-406

Problem

One of our clients had some trouble with their HSM and multithreading. The remedy was changing the arguments (CKF_LIBRARY_CANT_CREATE_OS_THREADS and CKF_OS_LOCKING_OK) of pkcs11Module.initialize - https://github.com/ria-ee/X-Road/blob/develop/src/addons/hwtoken/src/main/java/ee/ria/xroad/signer/tokenmanager/module/HardwareModuleWorker.java#L73.

As a result we would like to make these arguments configurable in the devices.ini file.

Acceptance criteria

VitaliStupin commented 6 years ago

Fixed in 6.18.0