模拟TPM [英] Simulating TPM

查看:144
本文介绍了模拟TPM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

您中的任何人在使用TPM模拟器进行设备集成和回归测试方面是否有任何经验和成功?我想实现我可以在没有真正硬件模块的情况下在云中运行测试,而仅使用软件 tpm位和"TPM模拟器".

does any of you have any experience and success with using a TPM simulator for integration and regression testing of devices? I want to achieve that I can run my tests in the cloud without having a true hardware module but only making use of the software tpm bits and a "TPM simulator".

很明显,从包含TPM模块的真实设备(公告板)连接到IoT中心很正常.

Obviously, connecting to the IoT hub from a real device (dragonboard) containing a TPM module works fine.

预先感谢

推荐答案

 我一直在将IBM TPM模拟器与我们正在开发的安全堆栈软件一起使用.

 I have been using the IBM TPM simulator with the security stack software we are developing.

它对于发现无法访问真正的TPM 2.0芯片的问题非常有用且非常有用.但是,它与实际芯片的不同之处在于,您必须模拟加电和启动(我使用了IBM TSS实用程序).它使用OpenSSL进行仿真通信 TPM,因此需要安装.模拟的TPM还可以让您执行硬件TPM可能不支持的操作,因此请注意.特别是,TSS附带的回归测试不适用于实际的硬件.

It is very useful and good for finding problems where you have no access to a real TPM 2.0 chip. However it is different to the real chip in that you have to simulate powerup and startup (I used the IBM TSS utiliities). It uses OpenSSL for comms to the simulated TPM so this needs to be installed. The simulated TPM also lets you do things that may not be supported on your hardware TPM so be aware. In particular the regression tests that come with the TSS will not work on real hardware.

我从最新的IBM来源构建了模拟的TPM和TSS堆栈.我发现您需要具有匹配的TPM和TSS软件才能使其正常工作.

I built both the simulated TPM and TSS stack from the latest IBM source. I found that you need to have matching TPM and TSS software for it to work properly.

我希望这会有所帮助.


这篇关于模拟TPM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆