Skip to content

Improve TPM DUK resealing UX #1653

Open
@UndeadDevel

Description

@UndeadDevel

Is your feature request related to a problem? Please describe.
After certain dom0 updates it becomes necessary to reseal the TPM DUK (e.g. new kernel, so boot option list changed). The following secrets must be entered in the following order to make this happen:

  1. LUKS DRK passphrase
  2. new TPM DUK passphrase (with validation check, so needs to be entered exactly the same way twice)
  3. TPM Ownership passphrase
  4. User GPG PIN

AFAICT if any one of those is not entered correctly (not sure about the last one, but this is definitely true for 1-3) then the entire process will fail and has to be started over, which is pretty bad UX as we're talking about a lot of complex secrets.

Describe the solution you'd like
Similarly to what was implemented in #1595, i.e. allow multiple tries, at least for the LUKS DRK, new TPM DUK and User GPG PIN (ideally for TPM Ownership passphrase as well, but that may be problematic regarding rate-limiting by the TPM).

Describe alternatives you've considered
At the very least my suggestion in the other review should be implemented (move the validation of the new TPM DUK passphrase up to occur before the LUKS DRK passphrase entry). But really 1, 2 and 4 in above list should allow multiple tries.

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