在 Raspberry pi c# 上赢得 10 个 IoT TPM

Win 10 IoT TPM on Raspberry pi c#

我正处于我的应用程序的最后阶段,我遇到了 TPM(可信平台模块)。 看起来非常适合存储令牌和 URLS。

我正在努力让它与 Raspberry pi 3 和 c# 一起工作。

完成所有配置和代码后,在尝试部署应用程序时收到此错误消息:

Severity Code Description Project File Line Suppression State Error DEP6956 : Failed to establish connection to the device due to protocol incompatibility. Please try again, and if this error persists, please try restarting the target device. Device supports protocol 'Sirep2'.

看来我无法再连接了。

我有两个问题: 1) 可以使用 TPM 和 Raspberry pi 3 吗? 2) 你会推荐 TPM 来存储令牌和 URLs 吗?还有其他安全的方法吗?

谢谢大家

1) Is possible to use TPM and Raspberry pi 3?

是的,使用 IoT 核心仪表板,您可以 install a software-emulated TPM 在 Raspberry Pi 2 或 3 上,它们没有 TPM 芯片。

2) Would you recommend TPM to store Tokens and URLs?

将安全信息存储在 TPM 中可以提供帮助 protect them from disclosure。从这点来看,我推荐使用TPM。

我认为您的错误消息与 TPM 没有直接关系。此错误通常发生在 iot-core 版本或相关库已更新时。为了解决这个问题,我总是清理我的项目,关闭所有 VisualStudio 15 或 17 实例,然后重新启动它们 rebuild/deploy。无需重启。这对我一直有效。