author: Eric Biggers <ebiggers@google.com> 2019-07-22 09:26:23 -0700
committer: Eric Biggers <ebiggers@google.com> 2019-08-12 19:33:50 -0700
commit: 432434c9f8e18cb4cf0fe05bc3eeceada0e10dc6
parent: add890c9f9d2d1d79184ded72f23b37b164fc673
Commit Summary:
Diffstat:
1 file changed, 14 insertions, 0 deletions
diff --git a/fs/verity/Kconfig b/fs/verity/Kconfig
index c2bca0b01ecf..88fb25119899 100644
--- a/fs/verity/Kconfig
+++ b/fs/verity/Kconfig
@@ -36,3 +36,20 @@ config FS_VERITY_DEBUG
Enable debugging messages related to fs-verity by default.
Say N unless you are an fs-verity developer.
+
+config FS_VERITY_BUILTIN_SIGNATURES
+ bool "FS Verity builtin signature support"
+ depends on FS_VERITY
+ select SYSTEM_DATA_VERIFICATION
+ help
+ Support verifying signatures of verity files against the X.509
+ certificates that have been loaded into the ".fs-verity"
+ kernel keyring.
+
+ This is meant as a relatively simple mechanism that can be
+ used to provide an authenticity guarantee for verity files, as
+ an alternative to IMA appraisal. Userspace programs still
+ need to check that the verity bit is set in order to get an
+ authenticity guarantee.
+
+ If unsure, say N.