aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.14/508-board_hw553.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-08-07 07:15:07 +0200
committerJo-Philipp Wich <jo@mein.io>2019-08-07 07:22:37 +0200
commit4fd7a30c707d4512914aea438b4297c7398ab426 (patch)
tree2b438d1e9bd834fa2c57d5d3a47df405b9288816 /target/linux/brcm63xx/patches-4.14/508-board_hw553.patch
parent7a10c7b882d19d38435cb50dbef704b1576efea3 (diff)
downloadupstream-4fd7a30c707d4512914aea438b4297c7398ab426.tar.gz
upstream-4fd7a30c707d4512914aea438b4297c7398ab426.tar.bz2
upstream-4fd7a30c707d4512914aea438b4297c7398ab426.zip
packages: apply usign padding workarounds to package indexes if needed
Since usign miscalculates SHA-512 digests for input sizes of exactly 64 + N * 128 + 110 or 64 + N * 128 + 111 bytes, we need to apply some white space padding to avoid triggering the hashing edge case. While usign itself has been fixed already, there is still many firmwares in the wild which use broken usign versions to verify current package indexes so we'll need to carry this workaround in the forseeable future. Ref: https://forum.openwrt.org/t/signature-check-failed/41945 Ref: https://git.openwrt.org/5a52b379902471cef495687547c7b568142f66d2 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit e1f588e446c7ceb696b644b37aeab9b3476e2a57)
Diffstat (limited to 'target/linux/brcm63xx/patches-4.14/508-board_hw553.patch')
0 files changed, 0 insertions, 0 deletions