Re: [PATCH v2 2/2] certs: Add support for using elliptic curve keys for signing modules
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2021-04-08 17:15:38
Also in:
keyrings, linux-integrity, lkml
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2021-04-08 17:15:38
Also in:
keyrings, linux-integrity, lkml
On Thu, 2021-04-08 at 11:24 -0400, Stefan Berger wrote:
Add support for using elliptic curve keys for signing modules. It uses a NIST P384 (secp384r1) key if the user chooses an elliptic curve key and will have ECDSA support built into the kernel. Note: A developer choosing an ECDSA key for signing modules should still delete the signing key (rm certs/signing_key.*) when building an older version of a kernel that only supports RSA keys. Unless kbuild automati- cally detects and generates a new kernel module key, ECDSA-signed kernel modules will fail signature verification. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Thanks, Stefan. Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>