tpm2_changepps(1) General Commands Manual tpm2_changepps(1) (NAME) tpm2_changepps - TPM2 (PPS) (SYNOPSIS) tpm2_changepps [] (DESCRIPTION) tpm2_changepps(1) (RNG) TPM2 . (Transient) (Persistent) (platform hierarchy) (NV) . (OPTIONS) o -p, --auth (AUTH) . o --cphash=FILE . cpHash . : cpHash rphash . o --rphash=FILE . rpHash . o -S, --session=FILE: tpm2_startauthsession. / . (REFERENCES) (AUTHORIZATION FORMATTING) TPM2.0 : 1. (Password) 2. HMAC 3. (Sessions) : " ". auth HMAC . . . HMAC ( tpm2_startauthsession(1) ). (PASSWORDS) . : . (STRING) "str:" ( ) . (EXAMPLES) foobar str:foobar (HEX-STRING) "hex:" / . (EXAMPLE) hex:1122334455667788 (FILE) "file:" "-" (stdin). . (EXAMPLES) # stdin : file:- # : file:path/to/password/file # stdin (echo): echo foobar | tpm2_tool -p file:- # here-string bash stdin: tpm2_tool -p file:- <<< foobar (SESSIONS) (policy session) session . tpm2_startauthsession(1) . auth ( ) + (PASSWORDS) . (EXAMPLES) session.ctx: session:session.ctx session.ctx auth mypassword: session:session.ctx+mypassword session.ctx auth (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 : pcr:sha256:0,1,2,3 AUTH. 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 device 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 abrmd TCTI : 1. `bus_name' : tabrmd ( ). 2. `bus_type' : dbus ( ) `session' `system'. tabrmd tcti bus_name=com.example.FooBar: \--tcti=tabrmd:bus_name=com.example.FooBar tcti (abrmd) bus_type=session: \--tcti:bus_type=session : abrmd tabrmd . TCTI . (EXAMPLES) (NULL) tpm2_changepps (RETURNS) : o 0 - . o 1 - . o 2 - . o 3 - . o 4 - TCTI. o 5 - (Non supported scheme). tpm2_testparams. (LIMITATIONS) tpm2_startauthsession(1) : o o tpm2-abrmd. . (BUGS) (Github Issues) (HELP) (Mailing List) (LICENSE) . (CC BY 4.0) . tpm2-tools tpm2_changepps(1)