Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simulating Hardware security module

Tags:

hsm

I want to implement part of HSM but first I need to simulate it in software. I want to have a complete isolated enviroment(?) that works like real HSM. My chosen API is pkcs#11 .

should i do something like cryptech,implementing pkcs#11 as rpc ? Can i translate pkcs#11 commands and use one of the many cryptographic libraries that are available ? ( cryptlib & OpenSSL & ... )

PS : I know softHSM but i want something that i completely know how it works and i can configure it + good documentation which i didn't find about softHSM.

Thanks

like image 707
h-sh-h Avatar asked Oct 29 '25 14:10

h-sh-h


1 Answers

Some vendors provide an emulated/simulated HSM environment, at least:

  • Gemalto ProtectServer HSM

  • Utimaco CryptoServer HSM

But to be honest I do not understand your SoftHSM dislike as basically all you need to know is the PKCS#11 API (moreover you can see the source code -- you couldn't ask for more insight).

Good luck!

EDIT>

[Given your comment]: The publicly available security policies of existing devices might be an interesting read to get some insight into HSM internals.

like image 126
vlp Avatar answered Nov 01 '25 13:11

vlp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!