Is it possible to connect with a HSM without PIN using PKCS11INTEROP library?

家住魔仙堡 提交于 2019-12-08 04:10:54

问题


We are using PKCS11INTEROP library to connect with the NShield HSM. To perform any operation(generate/encrypt/decrypt) inside the HSM you need to first get the slot and then login to the slot using the PIN. This is all working as expected.

NShield HSM allows your keys to be protected in two ways Module Protection and Token Protection. The NShield client software provides you a utility KSAFE to manage keys in the HSM. If you are using KSAFE utility and you want to protect your keys by module protection then you do not have to provide a PIN whereas PIN becomes mandatory if the key is to protected by Token protection.

So my question is that : Can we perform operations within HSM using PKCS11INTEROP without the need of a PIN, ofcourse it would be module based protection?


回答1:


Yes you can. If I remember correctly module protected keys are located under the first accelerator slot. You can even perform login on accelerator slot if you set CKNFAST_FAKE_ACCELERATOR_LOGIN configuration variable. Look it up in nShield HSM user guide.



来源:https://stackoverflow.com/questions/45358919/is-it-possible-to-connect-with-a-hsm-without-pin-using-pkcs11interop-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!