tpm2_clear(1) General Commands Manual tpm2_clear(1) (NAME) tpm2_clear - lockout endorsement owner TPM (SYNOPSIS) tpm2_clear [] [] (DESCRIPTION) tpm2_clear(1) - TPM . auth platform lockout . TPM "" (Commands) TPM : - https://trustedcomputinggroup.org/resource/tpm-library-specification TPM TPM2_Clear . TPM tpm2_getcap properties-fixed TPM_PT_REVISION . : . (OPTIONS) o -c, --auth-hierarchy=OBJECT: . lockout . : platform platform . o --cphash=FILE . cpHash . : cpHash . o ARGUMENT AUTH -c . (REFERENCES) (CONTEXT OBJECT FORMAT) : o (transient) TPM . o : o owner: (owner) o platform: (platform) o endorsement: (endorsement) o lockout: lockout o ( 0x81010013) . (AUTHORIZATION FORMATTING) TPM2.0 : . (Password) . HMAC . (Sessions). : " ". auth HMAC . . . HMAC ( tpm2_startauthsession(1)). (PASSWORDS) . : . (STRING) "str:" ( ) . (EXAMPLES) foobar str:foobar (HEX-STRING) (hex-string) "hex:" . (EXAMPLE) hex:1122334455667788 (FILE) "file:" "-" (stdin). . (EXAMPLES) # file:- # file:path/to/password/file # (stdin): echo foobar | tpm2_tool -p file:- # bash here-string stdin: tpm2_tool -p file:- <<< foobar (SESSIONS) (policy session) session . tpm2_startauthsession(1) . auth ( ) + (PASSWORDS) . (EXAMPLES) session.ctx: session:session.ctx session.ctx mypassword: session:session.ctx+mypassword session.ctx (HEX) 0x11223344: session:session.ctx+hex:11223344 PCR (PCR AUTHORIZATIONS) PCR "pcr:" PCR . PCR : = PCR " PCR" . raw-pcr-file PCR tpm2_pcrread(1) . PCR (EXAMPLES) PCR sha256 0 1 2 3 : pcr:sha256:0,1,2,3 AUTH. (COMMON OPTIONS) . o -h, --help=[man|no-man]: . (manpager) . "man" "man" man (stderr) . "no-man" manpager . MANPATH man(1) . o -v, --version: TCTI . o -V, --verbose: . . o -Q, --quiet: (stdout). o -Z, --enable-errata: (errata fixups). TPM . TPM2TOOLS_ENABLE_ERRATA . o -z, --pwd-session: HMAC . TPM . OpenSSL FIPS . auth . o -R, --autoflush: (autoflush) . . TPM2TOOLS_AUTOFLUSH yes true . TCTI (TCTI CONFIGURATION) TCTI " (Transmission Interface)" TPM . TCTI TPM . TCTI : 1. -T --tcti 2. : TPM2TOOLS_TCTI. : . TCTI : o tabrmd - tabrmd . tabrmd abrmd tcti . o mssim - TPM . o device - TPM . o none - TPM . TPM (off-tpm) TCTI . TCTI . "none" . : : . TCTI (TCTI DEFAULTS) TCTI TCTI dlopen(3) . TCTI tabrmd device mssim . -v TCTI . - "default-tcti" TCTI . TCTI (CUSTOM TCTIS) TCTI TCTI . dlopen(3) tcti-name . dlopen(3) . TCTI (TCTI OPTIONS) TCTI : o device: TCTI TPM TCTI . /dev/tpm0 . : -T device:/dev/tpm0 export TPM2TOOLS_TCTI="device:/dev/tpm0" o mssim: TCTI mssim IP . 127.0.0.1 2321 . : -T mssim:host=localhost,port=2321 export TPM2TOOLS_TCTI="mssim:host=localhost,port=2321" o abrmd: TCTI abrmd - `,' . `=' . o TCTI abrmd : 1. `bus_name' : tabrmd ( ). 2. `bus_type' : dbus ( ) `session' `system'. TCTI tabrmd bus_name=com.example.FooBar: \--tcti=tabrmd:bus_name=com.example.FooBar TCTI (abrmd) bus_type=session: \--tcti:bus_type=session : abrmd tabrmd . (EXAMPLES) owner endorsement lockout tpm2_clear lockoutpasswd platform tpm2_clear -c p (RETURNS) : o 0 - . o 1 - . o 2 - . o 3 - . o 4 - TCTI. o 5 - . tpm2_testparams. (BUGS) (Github Issues) (HELP) (Mailing List) (LICENSE) 4.0 (CC BY 4.0) . tpm2-tools tpm2_clear(1)