Skip to content

Commit

Permalink
ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
Browse files Browse the repository at this point in the history
[ Upstream commit 5087fd9 ]

Time to remove "IMA_TRUSTED_KEYRING".

Fixes: f4dc377 ("integrity: define '.evm' as a builtin 'trusted' keyring") # v4.5+
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
naynajain authored and gregkh committed Sep 13, 2023
1 parent 92eaa18 commit 9b372d2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions security/integrity/ima/Kconfig
Expand Up @@ -248,18 +248,6 @@ config IMA_APPRAISE_MODSIG
The modsig keyword can be used in the IMA policy to allow a hook
to accept such signatures.

config IMA_TRUSTED_KEYRING
bool "Require all keys on the .ima keyring be signed (deprecated)"
depends on IMA_APPRAISE && SYSTEM_TRUSTED_KEYRING
depends on INTEGRITY_ASYMMETRIC_KEYS
select INTEGRITY_TRUSTED_KEYRING
default y
help
This option requires that all keys added to the .ima
keyring be signed by a key on the system trusted keyring.

This option is deprecated in favor of INTEGRITY_TRUSTED_KEYRING

config IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY
bool "Permit keys validly signed by a built-in or secondary CA cert (EXPERIMENTAL)"
depends on SYSTEM_TRUSTED_KEYRING
Expand Down

0 comments on commit 9b372d2

Please sign in to comment.