Re: [PATCH v3] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-09 Thread Jarkko Sakkinen
On Mon, Aug 05, 2019 at 06:44:27PM +0200, Roberto Sassu wrote: > Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a > TPM") allows the trusted module to be loaded even if a TPM is not found, to > avoid module dependency problems. > > However, trusted module initialization

Re: [PATCH v3] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Jarkko Sakkinen
On Mon, Aug 05, 2019 at 06:44:27PM +0200, Roberto Sassu wrote: > Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a > TPM") allows the trusted module to be loaded even if a TPM is not found, to > avoid module dependency problems. > > However, trusted module initialization

Re: [PATCH v3] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Tyler Hicks
On 2019-08-05 18:44:27, Roberto Sassu wrote: > Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a > TPM") allows the trusted module to be loaded even if a TPM is not found, to > avoid module dependency problems. > > However, trusted module initialization can still fail if

[PATCH v3] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-05 Thread Roberto Sassu
Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a TPM") allows the trusted module to be loaded even if a TPM is not found, to avoid module dependency problems. However, trusted module initialization can still fail if the TPM is inactive or deactivated. tpm_get_random()