[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e50c4cfa-1f0c-6f4d-1910-010a8d874393@huawei.com>
Date: Fri, 2 Aug 2019 10:21:16 +0200
From: Roberto Sassu <roberto.sassu@...wei.com>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
CC: <jejb@...ux.ibm.com>, <zohar@...ux.ibm.com>, <jgg@...pe.ca>,
<linux-integrity@...r.kernel.org>,
<linux-security-module@...r.kernel.org>,
<keyrings@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<crazyt2019+lml@...il.com>, <tyhicks@...onical.com>,
<nayna@...ux.vnet.ibm.com>, <silviu.vlasceanu@...wei.com>
Subject: Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or
deactivated
On 8/1/2019 6:32 PM, Jarkko Sakkinen wrote:
> On Mon, Jul 15, 2019 at 06:44:28PM +0200, Roberto Sassu wrote:
>> According to the bug report at https://bugs.archlinux.org/task/62678,
>> the trusted module is a dependency of the ecryptfs module. We should
>> load the trusted module even if the TPM is inactive or deactivated.
>>
>> Given that commit 782779b60faa ("tpm: Actually fail on TPM errors during
>> "get random"") changes the return code of tpm_get_random(), the patch
>> should be modified to ignore the -EIO error. I will send a new version.
>
> Do you have information where this dependency comes from?
ecryptfs retrieves the encryption key from encrypted keys (see
ecryptfs_get_encrypted_key()).
Roberto
--
HUAWEI TECHNOLOGIES Duesseldorf GmbH, HRB 56063
Managing Director: Li Peng, Li Jian, Shi Yanli
Powered by blists - more mailing lists