Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add script for preseal a public key to tpm #303

Merged
merged 4 commits into from
May 5, 2023
Merged

Conversation

jpbland1
Copy link
Contributor

@jpbland1 jpbland1 commented May 5, 2023

add more detailed instructions on how to prepare a TPM keystore build and how to use the preseal script

tested in simulator for first time boot with unseal

add more detailed instructions on how to prepare a TPM keystore build and how to use the preseal script
@jpbland1 jpbland1 marked this pull request as ready for review May 5, 2023 00:51
@jpbland1 jpbland1 requested a review from dgarske May 5, 2023 00:51
@jpbland1 jpbland1 self-assigned this May 5, 2023
tools/preseal/Makefile Show resolved Hide resolved
tools/preseal/preseal.c Show resolved Hide resolved
@@ -0,0 +1,195 @@
#include <wolfssl/options.h>
#include <wolfssl/wolfcrypt/settings.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this tool really work against a physically different TPM? Or does it need to be run using the same TPM??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to run on the same TPM since it needs to seal the public key to NV

@jpbland1 jpbland1 requested a review from dgarske May 5, 2023 20:30
@dgarske dgarske merged commit 0b7603f into wolfSSL:master May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants