]> git.proxmox.com Git - pve-kernel.git/commit - debian/rules
build: sign modules and set trust anchor/lockdown
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 2 Mar 2023 08:32:25 +0000 (09:32 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 2 Aug 2023 12:14:00 +0000 (14:14 +0200)
commit345bdbd26477f976b2f1807112d43dfe1e666b6e
treeab83cdfc1341f342e997977c721e4a574c30aa50
parent25b7be41bf73d81a3e5f85df28e8df514522e5a7
build: sign modules and set trust anchor/lockdown

this is required for secure boot support.

at build time, an ephemeral key pair will be generated and all built modules
will be signed with it. the private key is discarded, and the public key
embedded in the kernel image for signature validation at module load time.

this change means that every kernel release must be considered an ABI change
from now on, else the signatures of on-disk modules and the signing key
embedded in the running kernel image might not match.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/rules