1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00
openwrt/package
Jo-Philipp Wich 889b841048 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>
2019-10-17 17:07:12 +02:00
..
base-files treewide: use a single ath10k MAC patching function with checksum 2019-10-15 18:13:54 +02:00
boot uboot-oxnas: remove unnecessary execute permission bit 2019-10-12 23:37:00 +02:00
devel gdb: bump to 8.3.1 2019-10-15 16:11:28 +02:00
firmware ath10k-firmware: update Candela Tech firmware images 2019-09-15 22:56:09 +02:00
kernel mac80211: add new acs_exclude_dfs option 2019-10-15 23:27:47 +02:00
libs libevent2: Update to 2.1.11 2019-10-15 22:35:14 +02:00
network wireguard: bump to latest snapshot 20191012 2019-10-16 16:13:39 +01:00
system fwtool: do not omit final 16 byte when image does not contain signature 2019-10-17 17:07:12 +02:00
utils lua: fix linking under glibc 2019-10-15 18:13:54 +02:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00