summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-18 17:44:36 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-18 17:47:44 +0200
commit34b46ca2738fe6a9d15b0ee52deb3d3d5f76606e (patch)
treef6dbb1535fe5df1b98f074448c03ac5245de2039 /etc
parent92e27ced5cc9d1a815258130fffd67845e490dbb (diff)
downloadvyatta-cfg-system-34b46ca2738fe6a9d15b0ee52deb3d3d5f76606e.tar.gz
vyatta-cfg-system-34b46ca2738fe6a9d15b0ee52deb3d3d5f76606e.zip
image: T2992: automatically verify sha256 checksum on ISO download
Good: ===== vyos@vyos:~$ add system image http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso Trying to fetch ISO file from http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 309M 100 309M 0 0 25.1M 0 0:00:12 0:00:12 --:--:-- 25.2M ISO download succeeded. Checking SHA256 (256-bit) checksum... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 106 100 106 0 0 26500 0 --:--:-- --:--:-- --:--:-- 26500 Found it. Verifying checksum... SHA256 checksum valid. Checking for digital signature file... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Unable to fetch digital signature file. Do you want to continue without signature check? (yes/no) [yes] Bad: ==== vyos@vyos:~$ add system image http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso Trying to fetch ISO file from http://foo.com/vyos-1.3-rolling-202010180826-amd64.iso % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 309M 100 309M 0 0 25.8M 0 0:00:11 0:00:11 --:--:-- 25.8M ISO download succeeded. Checking SHA256 (256-bit) checksum... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 106 100 106 0 0 9636 0 --:--:-- --:--:-- --:--:-- 9636 Found it. Verifying checksum... vyos-1.3-rolling-202010180826-amd64.iso: FAILED sha256sum: WARNING: 1 computed checksum did NOT match Signature check FAILED. Installation will not be performed. Exiting...
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions