Skip to content

Remove internal use of ProvisionStatus #8

@chrisccoulson

Description

@chrisccoulson

ProvisionStatus is used internally in one place - at the start of ProvisionTPM, and only to check whether owner clear has been disabled. It doesn't make use of any other of the returned attributes. This should be removed in favour of just attempting the TPM2_Clear command and checking if the returned error is a *tpm2.TPMError with an error code of tpm2.ErrorDisabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions