Skip to content

Unable to successfully put LUKS key into TPM #603

Closed
@vanceb

Description

@vanceb

Having a problem mentioned in #566 . I have managed to install Heads and Qubes. I can boot into Qubes using the "Disk Recovery Password". The problem comes when I try to set a default boot option and store the disk recovery key in the TPM.

Using the menu to set the default appears to go well. On reboot, and selecting "Default boot" all goes well until I get asked for the "unlock password". Once entered I get the following:

Error PCR mismatch from TPM_Unseal
PCR-00: <20 hex bytes>
PCR-01: <20 hex bytes>
...
PCR-07 <20 hex bytes>
Unable to unseal disk encryption key

I understand from this that the PCRs have changed since they were "Sealed" into the TPM. I have tried to reset the PCR values by doing:

seal-totp

<gets a qrcode>

unseal-totp

Error PCR mismatch from TPM_Unseal
unable to unseal totp secret

Also when booting I notice that I get notification of PCR changes, specifically PCR 7 and PCR 5. I am not sure if this is related to the "PCR mismatch"???

I think I am missing something, but not sure where to go from here...

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