diff options
| author | Jo-Philipp Wich <jo@mein.io> | 2017-11-13 17:00:58 +0100 |
|---|---|---|
| committer | Jo-Philipp Wich <jo@mein.io> | 2017-11-13 17:16:29 +0100 |
| commit | 46d0799c43e31ca04108cfb31b59486f1a7989db (patch) | |
| tree | 4325c47a89879becf1dc4ddf51e2d341e5f38573 /lang/python/python3 | |
| parent | 68ae65f3bcf89161b2a983c3fa1f8979df6c0f76 (diff) | |
cgi-io: support SHA256 checksums for file uploads
Report SHA256 checksums in addition to the MD5 ones to make cgi-io suitable
for sysupgrade image verification.
Also allow stat(), md5sum and/or sha256sum to fail and respond with a JSON
null value instead, leaving it to the frontend to handle errors as needed.
Fixes #4790.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions
