linux/Documentation/admin-guide/LSM
Luca Boccassi 02e2f9aa33 ipe: allow secondary and platform keyrings to install/update policies
The current policy management makes it impossible to use IPE
in a general purpose distribution. In such cases the users are not
building the kernel, the distribution is, and access to the private
key included in the trusted keyring is, for obvious reason, not
available.
This means that users have no way to enable IPE, since there will
be no built-in generic policy, and no access to the key to sign
updates validated by the trusted keyring.

Just as we do for dm-verity, kernel modules and more, allow the
secondary and platform keyrings to also validate policies. This
allows users enrolling their own keys in UEFI db or MOK to also
sign policies, and enroll them. This makes it sensible to enable
IPE in general purpose distributions, as it becomes usable by
any user wishing to do so. Keys in these keyrings can already
load kernels and kernel modules, so there is no security
downgrade.

Add a kconfig each, like dm-verity does, but default to enabled if
the dependencies are available.

Signed-off-by: Luca Boccassi <bluca@debian.org>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
[FW: fixed some style issues]
Signed-off-by: Fan Wu <wufan@kernel.org>
2024-10-17 11:46:10 -07:00
..
apparmor.rst apparmor: update git and wiki locations in AppArmor docs 2018-06-07 01:50:47 -07:00
index.rst documentation: add IPE documentation 2024-08-20 14:03:47 -04:00
ipe.rst ipe: allow secondary and platform keyrings to install/update policies 2024-10-17 11:46:10 -07:00
LoadPin.rst security/loadpin: Update the changing interface in the source code. 2021-03-15 13:32:32 -06:00
SafeSetID.rst docs: SafeSetID: fix a warning 2020-10-28 11:42:02 -06:00
SELinux.rst Documentation: Update SELinux reference policy URL 2018-11-19 12:40:48 -05:00
Smack.rst Smack: Improve Documentation 2018-12-13 13:31:01 -08:00
tomoyo.rst tomoyo: update project links 2024-06-03 22:43:11 +09:00
Yama.rst doc: yama: Swap HTTP for HTTPS and replace dead link 2020-07-13 09:40:42 -06:00