]> git.ipfire.org Git - thirdparty/openwrt.git/commit
package: do not sign individual APK packages
authorPaul Spooren <mail@aparcar.org>
Wed, 8 Oct 2025 09:42:51 +0000 (11:42 +0200)
committerPaul Spooren <mail@aparcar.org>
Thu, 9 Oct 2025 10:52:43 +0000 (12:52 +0200)
commit084697eb62f8fae6185af285e12f5cd0268114de
tree1140ebe5e39edc5e1b61afb6d2e68d25f682c638
parentad6df8a3c8e88c6d52a2b52cd2b39d543a890b26
package: do not sign individual APK packages

APK, unlike OPKG, can sign individual packages and not just indexes.
Since OpenWrt uses a distributed build infrastructure and only the build
master owns the private keys, signing of individual buildworkers doesn't
work. Right now, each buildworker creates a temporary build key to sign
packages, then transmits the package index to the buildmaster for a
signature.

As a result, all individual packages contain a nonsensical signature,
making them harder to reproduce. This commit removes the individual
package signing.

Since APK requires signatures per default, explicitly allow installation
of unsigned packages during the build process.

The config option here is for historical reasons misleading,
SIGNED_PACKAGES refers to the package index, not the individual
packages.

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/package-pack.mk
package/Makefile