% tpm2_setclock(1) tpm2-tools | General Commands Manual
tpm2_setclock(1) - Sets the time on the TPM.
tpm2_setclock [OPTIONS] TIME
tpm2_setclock(1) - Sets the clock on the TPM to a time in the future. The sole argument is the clock time as a number to set.
The hierarchy to use for authorization, either platform or owner. Defaults to the owner hierarchy if not specified.
Specifies the authorization value for the hierarchy specified by option -c.
File path to record the hash of the command parameters. This is commonly termed as cpHash. NOTE: When this option is selected, The tool will not actually execute the command, it simply returns a cpHash.
context object format details the methods for specifying OBJECT.
authorization formatting details the methods for specifying AUTH.
common options collection of common options that provide information many users may expect.
common tcti options collection of options used to configure the various known TCTI modules.
Set the clock
Set the clock using the owner password.
tpm2_setclock -p ownerpw 13673142