New issue
Advanced search Search tips

Issue 851529 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug


Participants' hotlists:
TPM-Userland-Performance
Cros-Hwsec-Refactoring
Cros-Hwsec-Ready


Sign in to add a comment

tpm: minimize sending ReadPublic to calculate names for known objects

Project Member Reported by apronin@chromium.org, Jun 11 2018

Issue description

Currently, various tpm-related daemons, send ReadPublic to get the public area for the loaded object to calculate its name.

That's one extra command to the TPM (so, 20-30 ms roundtrip for this daemon, plus potentially delaying other commands from parallel daemons).
Plus, by using the area of the currently loaded object we don't actually double-check that the loaded object is what we expect to be there (we do that separately for the places it matters, like bootlockbox, though).

Avoid sending this command and calculate the object name based on the expected object attributes/policies, handle etc.
 
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Components: OS>Systems>Security
Labels: TPM-Userland-Performance Cros-Hwsec-Ready Cros-Hwsec-Refactoring
Owner: ----
Status: Available (was: Assigned)
Removing myself from owners to mark as fully Cros-Hwsec-Ready.

Sign in to add a comment