Open arianvp opened 1 month ago
it does work for tpm2_createprimary
. Really seems to be a bug
--creation-data
also seems to be broken.
If --key-context
is used the context file is created by the tpm2_createloaded
command. This option can be used to avoid the normal tpm2_create
and tpm2_load
command sequences and do it all in one command but the data you expected will not be produced.
The files will be produced if --key-context
in not used. To create the context you can use tpm2_load
. It would not be bad to produce a warning in this case.
Expected behaviour
devid.hash
is created.devid.data
is created.devid.ticket
is created.Observed behaviour
Non of the files are created.
Reproducer