dasharo-issues icon indicating copy to clipboard operation
dasharo-issues copied to clipboard

TpmReady is False on Windows - VP2420, v1.2.0

Open filipleple opened this issue 11 months ago • 7 comments

Device

VP2420

Dasharo version

v1.2.0

Affected component(s) or functionality

TPM support

Brief summary

On Windows 11, get-tpm returns that TpmPresent and TpmEnabled are True, but TpmReady is false

How reproducible

100%

How to reproduce

call get-tpm on Windows 11 on VP2420 and observe that TpmReady is False

Expected behavior

TpmReady should be True

Actual behavior

TpmReady is False

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

filipleple avatar Mar 15 '24 16:03 filipleple

https://learn.microsoft.com/en-us/powershell/module/trustedplatformmodule/initialize-tpm?view=windowsserver2022-ps

Maybe the TPm was not initialized by WIndows? TpmReady is rather some flag from BitLocker or stuff like that. It doesn't;t mean TPM is not working...

miczyg1 avatar Mar 18 '24 10:03 miczyg1

@miczyg1 @mkopec Do you have specific suggestion then how this test should be modified: https://github.com/Dasharo/open-source-firmware-validation/blob/main/dasharo-security/tpm-support.robot#L63 ?

macpijan avatar Mar 26 '24 15:03 macpijan

Pretty dumb but may work : https://www.youtube.com/watch?v=Rqx55O-4AcQ

(one of the first search results)

miczyg1 avatar Apr 02 '24 09:04 miczyg1

@miczyg1 The result is:

image

And TPmReady is still False.

macpijan avatar Apr 12 '24 09:04 macpijan

As you say, it is more related on setting up TPM for BitLocker.

Perhaps in this test we should just test for the TpmPresent field.

In Linux equivalent test, we also read PCR values, but it seems there is no easy way on Windows to do that.

macpijan avatar Apr 12 '24 09:04 macpijan

@filipleple There were no problems with Windows installation due to the TPM, just this TPmReady was False, correct?

macpijan avatar Apr 12 '24 10:04 macpijan

@macpijan Yeah, installation and testing on Windows went well besides that

filipleple avatar Apr 12 '24 11:04 filipleple