|
| 1 | +% tpm2_pcrsetauthvalue(1) tpm2-tools | General Commands Manual |
| 2 | + |
| 3 | +# NAME |
| 4 | + |
| 5 | +**tpm2_pcrsetauthvalue**(1) - Add or change the authvalue of a PCR handle which |
| 6 | +is in the authorization set. |
| 7 | + |
| 8 | +# SYNOPSIS |
| 9 | + |
| 10 | +**tpm2_pcrsetauthvalue** [*OPTIONS*] [*ARGUMENT*] |
| 11 | + |
| 12 | +# DESCRIPTION |
| 13 | + |
| 14 | +**tpm2_pcrsetauthvalue**(1) - Add or change the authvalue of a PCR handle which |
| 15 | +is in the authorization set. Only those PCR handles which are in the |
| 16 | +authorization set can be specified. To retrieve which specific PCR handles in a |
| 17 | +given TPM implementation are in the authorization set, run **tpm2_getcap** with |
| 18 | +option **pcrhandles-with-auth**. |
| 19 | + |
| 20 | +# OPTIONS |
| 21 | + |
| 22 | + * **-P**, **\--auth**=_AUTH_: |
| 23 | + |
| 24 | + Specifies the existing authorization value for the PCR handle. |
| 25 | + |
| 26 | + * **-p**, **\--newauth**=_AUTH_: |
| 27 | + |
| 28 | + Specifies the new authorization value to be set for the PCR handle. |
| 29 | + |
| 30 | + * **ARGUMENT** the command line argument specifies the PCR handle. |
| 31 | + |
| 32 | +## References |
| 33 | + |
| 34 | +[context object format](common/ctxobj.md) details the methods for specifying |
| 35 | +_OBJECT_. |
| 36 | + |
| 37 | +[authorization formatting](common/authorizations.md) details the methods for |
| 38 | +specifying _AUTH_. |
| 39 | + |
| 40 | +[common options](common/options.md) collection of common options that provide |
| 41 | +information many users may expect. |
| 42 | + |
| 43 | +[common tcti options](common/tcti.md) collection of options used to configure |
| 44 | +the various known TCTI modules. |
| 45 | + |
| 46 | +# EXAMPLES |
| 47 | + |
| 48 | +## Change authvalue of the PCR handle 20 |
| 49 | + |
| 50 | +```bash |
| 51 | +tpm2_pcrsetauthvalue -p newauthvalue 0x00000014 |
| 52 | +``` |
| 53 | + |
| 54 | +[returns](common/returns.md) |
| 55 | + |
| 56 | +[footer](common/footer.md) |
0 commit comments