Re: [PATCH 4/9] security: keys: trusted: Store the handle of a loaded key

2021-02-19 Thread Jarkko Sakkinen
On Sat, Feb 20, 2021 at 01:32:50AM +, Matthew Garrett wrote: > Certain in-kernel operations using a trusted key (such as creation > certification) require knowledge of the handle it's loaded at. Keep > a copy of that in the payload. > > Signed-off-by: Matthew Garrett This looks good to me as

[PATCH 4/9] security: keys: trusted: Store the handle of a loaded key

2021-02-19 Thread Matthew Garrett
Certain in-kernel operations using a trusted key (such as creation certification) require knowledge of the handle it's loaded at. Keep a copy of that in the payload. Signed-off-by: Matthew Garrett --- include/keys/trusted-type.h | 1 + security/keys/trusted-keys/trusted_tpm2.c | 6