Thread (7 messages) 7 messages, 3 authors, 2019-06-11

Re: [RFC PATCH v3 1/1] Add dm verity root hash pkcs7 sig validation

From: Jaskaran Singh Khurana <hidden>
Date: 2019-06-10 23:27:25
Also in: dm-devel, linux-fsdevel, linux-integrity, lkml


On Sat, 8 Jun 2019, Milan Broz wrote:
On 08/06/2019 00:31, Jaskaran Khurana wrote:
quoted
The verification is to support cases where the roothash is not secured by
quoted
+	key = request_key(&key_type_user,
+			key_desc, NULL);
+	if (IS_ERR(key))
+		return PTR_ERR(key);
You will need dependence on keyring here (kernel can be configured without it),
try to compile it without CONFIG_KEYS selected.

I think it is ok that  DM_VERITY_VERIFY_ROOTHASH_SIG can directly require CONFIG_KEYS.
(Add depends on CONFIG_KEYS in KConfig)
DM_VERITY_VERIFY_ROOTHASH_SIG selects SYSTEM_DATA_VERIFICATION and 
SYSTEM_DATA_VERIFICATION selects KEYS so we should be OK here.
Thanks,
Milan
Thanks,
Jaskaran.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help