On 9/20/19 7:34 AM, Trey Weaver wrote:
I want to put a small string into the TPM2 and be able to recall it
over restarts. Here is what I have tried:
To make an object persistent you need to use tpm2_evictcontrol command.
$ tpm2_load -C primary.ctx -u obj.pub -r obj.priv -c key.ctx
$ tpm2_evictcontrol -C o -c key.ctx