Open tlaurion opened 3 days ago
Related ErrorCode (0x000b0143)? https://github.com/tpm2-software/tpm2-tss/issues/1063
Maybe cr50 doesn't support specific nvram region secret sealing? https://github.com/MrChromebox/firmware/issues/626
The error messages says that the command TPM2_PolicyPassword is not implemented in the Cr50 firmware.
With the command tpm2_getcap commands
you can list all available commands.
The error messages says that the command TPM2_PolicyPassword is not implemented in the Cr50 firmware.
I wish I had access to a machine with a CR50... Two logs at https://github.com/linuxboot/heads/pull/1658#issuecomment-2136075503, the first one applies same policy, and succeeds. The only difference I see with second log (which works on normal tpm2 but not here) is a distinct nvram reapplying policy (which succeeds on typical tpm2 for all non cr50 tpm under Heads...)
With the command
tpm2_getcap commands
you can list all available commands.
@mdrobnak can you post output of the command here?
Of course - that's an easy one. Ran in Qubes on the Dom0 terminal... It's 693 lines so I'm attaching it.
-Matt cr50_getcap_commands.txt
The white rabbit to be followed is why CR50 TPM refuses to to add TPM DUK nv region into TPM which doesn't seem supported on CR50 not sure why:
Originally posted by @tlaurion in https://github.com/linuxboot/heads/issues/1658#issuecomment-2136000413