On Thu, Nov 12, 2026 at 12:43:59AM +0200, Jarkko Sakkinen wrote:
> $ tpm2sh return-code 256
> TPM_RC_INITIALIZE
> 
> I.e. TPM has not been properly initialized by TPM2_Startup().
> 
> I.e. TPM is also saying that it is *disabled*.
> 
> So acting on this proven fact  makes most sense to me.


Actually, should we even disable TPM if it returns this error code
already at the level of tpm_transmit(). It is a guaranteed dead-end
to any possible TPM operation.

I.e. while this fixes hwrng issue I think it might be addressing the
issue at a wrong level.

Br, Jarkko

Reply via email to