New issue
Advanced search Search tips

Issue 922062 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Cannot switch from default to test PCA without manual enrollment or clearing the TPM owner

Project Member Reported by drcrash@google.com, Jan 15

Issue description

We ask people to use the --attestation-server=test for debugging attestation issues. However, if you use this flag on a device already enrolled against the default PCA, it will not also enroll against the test PCA.

This is because TpmIsAttestationPrepared() will return true if the device is enrolled with any PCA. Therefore we don't try to prepare and enroll with the test PCA, and therefore fail.

We need a way to be able to enroll from the client if attestation isn't prepared for the given PCA.
 

Sign in to add a comment