简体   繁体   English

如何读取 softhsm 密钥

[英]how to read softhsm keys

I am using softhsm2 to generate keys/tokens, and I don't know how I can read my keys value.我正在使用 softhsm2 生成密钥/令牌,但我不知道如何读取我的密钥值。 I am using this command to get the hsm content but it doesn't give a lot of details:我正在使用这个命令来获取 hsm 内容,但它没有提供很多细节:

pkcs11-tool --module /usr/lib64/pkcs11/libsofthsm2.so -l -t pkcs11-tool --module /usr/lib64/pkcs11/libsofthsm2.so -l -t

is there any other tools to manage sofhsm?还有其他工具可以管理 sofhsm 吗?

Thank you!谢谢!

I hope you have not installed the pkcs11-tool in your machine and probably your HSM is hosted in a remote machine.我希望你没有在你的机器上安装 pkcs11-tool 并且你的 HSM 可能托管在远程机器上。 If this the case plesae check Expose SoftHSM library to the code running in host machine or https://github.com/rbroggi/softhsm-daemon如果是这种情况,请检查Expose SoftHSM library to the code running in host machinehttps://github.com/rbroggi/softhsm-daemon

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM