linux-stable/certs
Stefan Berger 429665a23e certs: Trigger creation of RSA module signing key if it's not an RSA key
[ Upstream commit ea35e0d5df ]

Address a kbuild issue where a developer created an ECDSA key for signing
kernel modules and then builds an older version of the kernel, when bi-
secting the kernel for example, that does not support ECDSA keys.

If openssl is installed, trigger the creation of an RSA module signing
key if it is not an RSA key.

Fixes: cfc411e7ff ("Move certificate handling to its own directory")
Cc: David Howells <dhowells@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 11:42:59 +02:00
..
.gitignore
Kconfig certs: Add a secondary system keyring that can be added to dynamically 2016-04-11 22:48:09 +01:00
Makefile certs: Trigger creation of RSA module signing key if it's not an RSA key 2021-09-22 11:42:59 +02:00
system_certificates.S certs: Fix misaligned data in extra certificate list 2016-02-29 14:44:30 +00:00
system_keyring.c Replace magic for trusting the secondary keyring with #define 2018-09-09 20:01:23 +02:00