File: attest-tool.h2m

package info (click to toggle)
golang-github-google-go-attestation 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,260 kB
  • sloc: sh: 158; makefile: 22
file content (38 lines) | stat: -rw-r--r-- 841 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[NAME]
attest-tool - Perform attestation-related TPM operations

[COMMANDS]
`attest-tool` is a simple utility to exercise attestation-related
operations on your system.

attest-tool info

attest-tool make-ak

attest-tool quote

attest-tool list-eks

attest-tool list-pcrs

attest-tool measurement-log

attest-tool dump

attest-tool self-test

[TEST]
The main use-case of `attest-tool` is testing whether attestation
works on the local system.

Once `attest-tool` has been built, you can run it in self-test mode
like this:

attest-tool self-test

After a few seconds, it should print out a 'PASS' message, or a 'FAIL'
message with a description of what went wrong.

On Linux, `attest-tool` either needs to be run as root, or granted
access to the TPM (`/dev/tpmrm0`) device & event log
(`/sys/kernel/security/tpm0/binary_bios_measurements`)