Thread (41 messages) 41 messages, 4 authors, 2021-11-19

Re: [PATCH v7 03/17] KEYS: Create static version of public_key_verify_signature

From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2021-11-17 13:54:40
Also in: keyrings, linux-efi, linux-integrity, linux-security-module, lkml

On Wed, 2021-11-17 at 08:32 -0500, Mimi Zohar wrote:
On Mon, 2021-11-15 at 19:15 -0500, Eric Snowberg wrote:
quoted
The kernel test robot reports undefined reference to
public_key_verify_signature when CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE is
not defined. Create a static version in this case and return -EINVAL.

Reported-by: kernel test robot <redacted>
Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-by:  Mimi Zohar <zohar@linux.ibm.com>
Perhaps this patch wouldn't be needed if 

+config INTEGRITY_MACHINE_KEYRING
+       bool "Provide a keyring to which CA Machine Owner Keys may be
added"
+       depends on SECONDARY_TRUSTED_KEYRING
+       depends on INTEGRITY_ASYMMETRIC_KEYS

depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y

+       depends on SYSTEM_BLACKLIST_KEYRING
+       depends on LOAD_UEFI_KEYS

Mimi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help