]> git.ipfire.org Git - thirdparty/openwrt.git/commit
build: gate firmware image signing behind SIGN_FIRMWARE 24291/head
authorPaul Spooren <mail@aparcar.org>
Sun, 19 Jul 2026 09:30:17 +0000 (11:30 +0200)
committerPaul Spooren <mail@aparcar.org>
Mon, 20 Jul 2026 08:33:41 +0000 (10:33 +0200)
commitff41ddea1c9ee58ef56828f0ac97055fce2d6fce
tree859147463f552c5413cbbfca33e18648025b5424
parent3ec398f0c3eeebbfb6aba452e48f3efd5b0f52a8
build: gate firmware image signing behind SIGN_FIRMWARE

Firmware image signing in append-metadata/append-gl-metadata was conditional
only by the presence of the build key. Add an explicit SIGN_FIRMWARE option
(default enabled except with BUILDBOT) so appending the fwtool signature can be
toggled on its own.

It's disable on buildbot since we use a decentralized building with no
individual keys on builders. Instead, a fake key is currently used, which adds
an insecure signature.

The future of signing firmware  and key distribution across the build
infrastructure should be discussed separately.

Link: https://github.com/openwrt/openwrt/pull/24291
Signed-off-by: Paul Spooren <mail@aparcar.org>
config/Config-build.in
include/image-commands.mk