Need a resource job to log TPM2 capabilities
Bug #1926683 reported by
Kristin Chuang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Resource |
Expired
|
Undecided
|
Unassigned |
Bug Description
A TPM2 capabilities resource job to help us:
- log the TPM2 capabilities of a device
- potentially filter and customize each device's TPM2 tests with the outputs of this resource job
To post a comment you must log in.
Discussed with HWE Ivan; a possible way to achieve this:
With tpm2-tools v.4-x, use the following command to list a device's TPM2 capabilities:
`sudo tpm2_getcap <capability category>`[1]
The following categories' outputs are parts that we MUST capture:
- commands
- algorithms
- properties-fixed
- pcrs
Example outputs of the above commands: /pastebin. canonical. com/p/bDnM4KYXh p/
https:/
Related Trello card: /trello. com/c/vc1SH4aA/ 557-create- checkbox- tpm-capabilitie s-resource- job
https:/
[1] available categories can be found with `sudo tpm2_getcap -l`