TPMCTL
Description
Control TPM (initialization, configuration,reset).
Command
tpmctl [-v] [-i [-n]|-r|-a|-f|-o|-t|-s [-g]|-C|-c <newtpmpassword> [-n]] [-p <tpmpassword>] [-w] -v: verbose mode -i: initialize TPM (tpm password is mandatory) -n: do not derive TPM key from password -r: reset TPM (tpm password is mandatory) -C: change TPM password (prompt for newpassword, tpmpassword is mandatory) -c: change TPM password (tpmpassword is mandatory) -n: no decrypt (leave pkeys as is (troubleshooting only)) -a: run TPM diagnostic -f: flush TPM session authentication handles -p: password associated with TPM (will prompt if not provided and tpmpassword is needed) -s: rehash symmetric key PCRs (tpmpassword is mandatory) -g: force rehash even if secureboot is disabled -w: enable TPM TSS verbose -o: check if the TPM exists -t: return an error code representing TPM status