docker-hub-images
docker-hub-images copied to clipboard
Use the local sha256hash
Forgive me if I'm being a plonker, but doesn't it make more sense to use the locally stored sha256hash to verify the .zip file?
If the remote file repo has been compromised then it makes sense that the nefarious individual involved might also alter the hash file to match their new version of the file.
If you're only protecting against corrupt downloads, then admittedly, the original method would suffice.