install_with_python: Secure Python download with sha256 checks.
authorAdrian Cochrane <adrianc@catalyst.net.nz>
Mon, 8 Jun 2015 04:31:38 +0000 (16:31 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 Jul 2015 03:19:05 +0000 (05:19 +0200)
commitc596ac60a568fdcace8e73e9649e91faf6cba0c8
treeb54e70ec31ad11cf6f3082c29af42b86775e9b97
parent509c37da1300b843e089dfcd6657e68fa8c8c746
install_with_python: Secure Python download with sha256 checks.

Includes a fallback using md5sum and a refactor to ensure files are cleaned up on failure.

Signed-off-by: Adrian Cochrane <adrianc@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 24 05:19:06 CEST 2015 on sn-devel-104
install_with_python.sh