| 1 |
[NAME] |
| 2 |
attest-tool - Perform attestation-related TPM operations |
| 3 |
|
| 4 |
[COMMANDS] |
| 5 |
`attest-tool` is a simple utility to exercise attestation-related |
| 6 |
operations on your system. |
| 7 |
|
| 8 |
attest-tool info |
| 9 |
|
| 10 |
attest-tool make-ak |
| 11 |
|
| 12 |
attest-tool quote |
| 13 |
|
| 14 |
attest-tool list-eks |
| 15 |
|
| 16 |
attest-tool list-pcrs |
| 17 |
|
| 18 |
attest-tool measurement-log |
| 19 |
|
| 20 |
attest-tool dump |
| 21 |
|
| 22 |
attest-tool self-test |
| 23 |
|
| 24 |
[TEST] |
| 25 |
The main use-case of `attest-tool` is testing whether attestation |
| 26 |
works on the local system. |
| 27 |
|
| 28 |
Once `attest-tool` has been built, you can run it in self-test mode |
| 29 |
like this: |
| 30 |
|
| 31 |
attest-tool self-test |
| 32 |
|
| 33 |
After a few seconds, it should print out a 'PASS' message, or a 'FAIL' |
| 34 |
message with a description of what went wrong. |
| 35 |
|
| 36 |
On Linux, `attest-tool` either needs to be run as root, or granted |
| 37 |
access to the TPM (`/dev/tpmrm0`) device & event log |
| 38 |
(`/sys/kernel/security/tpm0/binary_bios_measurements`) |