[lkml]   [2019]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] security/keys/trusted: Allow operation without hardware TPM
On Mon, Mar 18, 2019 at 04:45:13PM -0700, Dan Williams wrote:
> Rather than fail initialization of the trusted.ko module, arrange for
> the module to load, but rely on trusted_instantiate() to fail
> trusted-key operations.
> Fixes: 240730437deb ("KEYS: trusted: explicitly use tpm_chip structure...")
> Cc: Roberto Sassu <>
> Cc: Jarkko Sakkinen <>
> Cc: James Bottomley <>
> Cc: Jarkko Sakkinen <>
> Cc: Mimi Zohar <>
> Cc: David Howells <>
> Signed-off-by: Dan Williams <>

It should check for chip in each function that uses TPM now that
the code does not rely on default chip. Otherwise, the semantics
are kind of inconsistent.


 \ /
  Last update: 2019-03-21 14:55    [W:0.129 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site