You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide examples to use duplicate and rewrite, TCG's documentation is difficult to understand, or can you provide some website addresses where there are examples
The text was updated successfully, but these errors were encountered:
See regtests/testdup.sh for several examples of duplicate and rewrap. I assume you mean rewrap, not rewrite.
My development process is:
find a test script that's close to my use case
cut and paste from the script to replicate my use case
cut and paste C code from the command line programs into my program
For a complicated program, you can replace the script a few lines at a time to help debug
Thanks for your answer.I followed the example(Rewrap) and still couldn't run rewrap and reported some errors.I also don't understand why there are three TPMs. Doesn't "rewrap" only require two TPMs? My background is that there is a KEY under a primary key of TPM1. How to migrate it to a primary key of TPM2? Thank you!
It is important to report what the rewrap error was. 'some errors' is insufficient.
Read Part 1 Rewrap to see why it uses three TPMs - the source, the recovery service, and the destination.
If you have a key K1 on TPM1 and a storage parent S2 on TPM2, duplicate K1 to S2 public key on TPM1, then import K1 to S2 private key on TPM2.
It does not matter whether the storage parents are primary keys or not.
In the test scripts, see testdup.sh "Duplicate Child Key"
Can you provide examples to use duplicate and rewrite, TCG's documentation is difficult to understand, or can you provide some website addresses where there are examples
The text was updated successfully, but these errors were encountered: