Thread (16 messages) 16 messages, 3 authors, 2021-11-16

Re: [RFC][PATCH 2/5] fsverity: Revalidate built-in signatures at file open

From: Eric Biggers <ebiggers@kernel.org>
Date: 2021-11-12 19:15:05
Also in: linux-doc, linux-fscrypt, linux-fsdevel, linux-mm, lkml

On Fri, Nov 12, 2021 at 01:44:08PM +0100, Roberto Sassu wrote:
Fsverity signatures are validated only upon request by the user by setting
the requirement through procfs or sysctl.

However, signatures are validated only when the fsverity-related
initialization is performed on the file. If the initialization happened
while the signature requirement was disabled, the signature is not
validated again.
I'm not sure this really matters.  If someone has started using a verity file
before the require_signatures sysctl was set, then there is already a race
condition; this patch doesn't fix that.  Don't you need to set the
require_signatures sysctl early enough anyway?

- Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help