Re: [PATCH v2 0/3] initramfs: add support for xattrs in the initial ram disk

From
Mimi Zohar <zohar@linux.ibm.com>
Date
2019-05-13 12:09:53
Also in
linux-fsdevel, linux-integrity, lkml
Reply to
Rob Landley, 2019-05-13
On Mon, 2019-05-13 at 04:07 -0500, Rob Landley wrote:
quoted
Allowing a kernel with integrity enforcement to parse the CPIO image
without verifying it first is the weak point.
If you don't verify the CPIO image then in theory it could have anything in it,
yes. You seem to believe that signing individual files is more secure than
signing the archive. This is certainly a point of view.
Nobody is claiming that signing and verifying individual files is more
secure.  We are saying that in some environments BOTH are needed.  In
many environments today the initramfs IS being signed and verified.

Unfortunately not all environments can sign the initramfs today,
because the initramfs is not distributed with the kernel image, but
generated on the target system.

Mimi
Thread (54 messages) 54 messages, 11 authors, last reply 2019-05-16
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