wolfSSL / wolfTPM

wolfTPM is a highly portable TPM 2.0 library, designed for embedded use.
https://www.wolfssl.com
GNU General Public License v2.0
244 stars 60 forks source link

Add credential examples for remote attestation #161

Closed tomoveu closed 3 years ago

tomoveu commented 3 years ago

This PR adds needed examples for remote attestation.

In nutshell, to perform remote attestation, we need a way to establish initial trust between the client and attestation server. For this purpose, the TPM2_MakeCredential and TPM2_ActivateCredential commands exist. This PR adds examples for both of them.

Next step would be the addition of TLS1.3 client/server example performing the challenge* and response**.

The actual transport layer used to transfer the challenge-response sequence is up to the developer.