Re: [PATCH v4] KEYS: encrypted: Instantiate key with user-provided decrypted data

From
Jarkko Sakkinen <jarkko@kernel.org>
Date
2022-01-08 21:58:54
Also in
keyrings, linux-doc, linux-integrity, lkml
Reply to
Yael Tiomkin, 2021-12-29
On Wed, Dec 29, 2021 at 04:53:30PM -0500, Yael Tiomkin wrote:
The encrypted.c class supports instantiation of encrypted keys with
either an already-encrypted key material, or by generating new key
material based on random numbers. This patch defines a new datablob
format: [<format>] <master-key name> <decrypted data length>
<decrypted data> that allows to instantiate encrypted keys using
user-provided decrypted data, and therefore allows to perform key
encryption from userspace. The decrypted key material will be
inaccessible from userspace.

Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Yael Tiomkin <redacted>
What is the use case for this?

BR, Jarkko
Thread (16 messages) 16 messages, 5 authors, last reply 2022-01-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help