Skip to content

Commit 3f6684c

Browse files
gonzouaroxanan1996
authored andcommitted
ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
BugLink: https://bugs.launchpad.net/bugs/2045809 [ Upstream commit be210c6 ] The removal of IMA_TRUSTED_KEYRING made IMA_LOAD_X509 and IMA_BLACKLIST_KEYRING unavailable because the latter two depend on the former. Since IMA_TRUSTED_KEYRING was deprecated in favor of INTEGRITY_TRUSTED_KEYRING use it as a dependency for the two Kconfigs affected by the deprecation. Fixes: 5087fd9 ("ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig") Signed-off-by: Oleksandr Tymoshenko <ovt@google.com> Reviewed-by: Nayna Jain <nayna@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
1 parent e432ead commit 3f6684c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/integrity/ima/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ config IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY
268268
config IMA_BLACKLIST_KEYRING
269269
bool "Create IMA machine owner blacklist keyrings (EXPERIMENTAL)"
270270
depends on SYSTEM_TRUSTED_KEYRING
271-
depends on IMA_TRUSTED_KEYRING
271+
depends on INTEGRITY_TRUSTED_KEYRING
272272
default n
273273
help
274274
This option creates an IMA blacklist keyring, which contains all
@@ -278,7 +278,7 @@ config IMA_BLACKLIST_KEYRING
278278

279279
config IMA_LOAD_X509
280280
bool "Load X509 certificate onto the '.ima' trusted keyring"
281-
depends on IMA_TRUSTED_KEYRING
281+
depends on INTEGRITY_TRUSTED_KEYRING
282282
default n
283283
help
284284
File signature verification is based on the public keys

0 commit comments

Comments
 (0)