Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. config INTEGRITY
  3. def_bool y
  4. depends on IMA || EVM
  5. config INTEGRITY_SIGNATURE
  6. boolean "Digital signature verification using multiple keyrings"
  7. depends on INTEGRITY && KEYS
  8. default n
  9. select SIGNATURE
  10. help
  11. This option enables digital signature verification support
  12. using multiple keyrings. It defines separate keyrings for each
  13. of the different use cases - evm, ima, and modules.
  14. Different keyrings improves search performance, but also allow
  15. to "lock" certain keyring to prevent adding new keys.
  16. This is useful for evm and module keyrings, when keys are
  17. usually only added from initramfs.
  18. config INTEGRITY_AUDIT
  19. bool "Enables integrity auditing support "
  20. depends on INTEGRITY && AUDIT
  21. default y
  22. help
  23. In addition to enabling integrity auditing support, this
  24. option adds a kernel parameter 'integrity_audit', which
  25. controls the level of integrity auditing messages.
  26. 0 - basic integrity auditing messages (default)
  27. 1 - additional integrity auditing messages
  28. Additional informational integrity auditing messages would
  29. be enabled by specifying 'integrity_audit=1' on the kernel
  30. command line.
  31. config INTEGRITY_ASYMMETRIC_KEYS
  32. boolean "Enable asymmetric keys support"
  33. depends on INTEGRITY_SIGNATURE
  34. default n
  35. select ASYMMETRIC_KEY_TYPE
  36. select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
  37. select PUBLIC_KEY_ALGO_RSA
  38. select X509_CERTIFICATE_PARSER
  39. help
  40. This option enables digital signature verification using
  41. asymmetric keys.
  42. source security/integrity/ima/Kconfig
  43. source security/integrity/evm/Kconfig