You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/system
Jo-Philipp Wich 07dcbfa6e8 fwtool: do not omit final 16 byte when image does not contain signature
The fwutil command will interpret the final 16 byte of a given firmware
image files as "struct fwimage_trailer".

In case these bytes do look like a valid trailer, we must ensure that we
print them out along with the remainder of the image to not accidentally
truncate non-trailer-images by 16 bytes when they're piped through fwtool,
e.g. as part of an image verification command sequence.

Some command sequences pipe images through fwtool in order to strip any
possible metadata, certificate or signature trailers and do not expect
bare images without any of that metadata to get truncated as other non-
fwtool specific metadata is expected at the end of the file, e.g. an
information block with an md5sum in case of the combined image format.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 889b841048)
5 years ago
..
ca-certificates ca-certificates: update to version 20190110 5 years ago
fstools fstools: update to latest Git HEAD 5 years ago
fwtool fwtool: do not omit final 16 byte when image does not contain signature 5 years ago
iucode-tool tools: add iucode-tool 6 years ago
mtd gemini: Fix up firmware checksum on DIR-685 5 years ago
openwrt-keyring openwrt-keyring: update to Git HEAD 5 years ago
opkg config: introduce separate CONFIG_SIGNATURE_CHECK option 5 years ago
procd procd: fix invalid JSON filter expression in procd_running() 5 years ago
rpcd rpcd: update to latest Git HEAD 5 years ago
ubox ubox: implement service_running() in log init.d script 5 years ago
ubus packages: set more explicit ABI_VERSION values 5 years ago
ucert build: include BUILD_VARIANT in PKG_BUILD_DIR 5 years ago
uci uci: update to latest Git HEAD 5 years ago
urandom-seed base-files: move urandom seed bits into separate package 5 years ago
urngd urngd: move project to git.openwrt.org 5 years ago
usign usign: update to latest Git HEAD 5 years ago
zram-swap zram-swap: Add extra commands for status/compaction 5 years ago