Need a resource job to log TPM2 capabilities

Bug #1926683 reported by Kristin Chuang
6
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

Revision history for this message
Kristin Chuang (kristinchuang) wrote :

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:
https://pastebin.canonical.com/p/bDnM4KYXhp/

Related Trello card:
https://trello.com/c/vc1SH4aA/557-create-checkbox-tpm-capabilities-resource-job

[1] available categories can be found with `sudo tpm2_getcap -l`

Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/184.
Bug is no more monitored here.

Changed in plainbox-provider-resource:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.