luci-app-attendedsysupgrade: remove outdated checks
authorPaul Spooren <spooren@informatik.uni-leipzig.de>
Wed, 27 Dec 2017 02:10:56 +0000 (03:10 +0100)
committerPaul Spooren <spooren@informatik.uni-leipzig.de>
Wed, 27 Dec 2017 02:26:21 +0000 (03:26 +0100)
commit6638e4cdd57d92d1fb75b4e6aa402b5aea06335a
tree0dd75d6e7c07add9678d001031ba5ba52b024e0f
parent99fea1617981b110d8e2f46620f8e66642002402
luci-app-attendedsysupgrade: remove outdated checks

the upgrade server used to store a md5 checksum and the image filesize,
due to complexity this was removed.

Instead a sha256sums file is created by the IB with additional
signature. The firmware filesize can be retrived by requesting
Content-Length data.sysupgrade_url.

As the deeper layers (rpcd) currently do not offer an easy way to to
perform a sha256sum check & verify a usign sig these features will be
re-added once supported.

Until then the security of the sysupgrades depend on TLS and so the
luci-app is meant as a demonstration only.

Signed-off-by: Paul Spooren <paul@spooren.de>
applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm
applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js