I have downloaded a Debian ISO with jigdo, the download has finished successfully, and printed the following message:
FINISHED --2021-01-22 11:57:20-- Total wall clock time: 4.3s Downloaded: 9 files, 897K in 1.8s (494 KB/s) Found 9 of the 9 files required by the template Successfully created `debian-testing-amd64-netinst.iso' ----------------------------------------------------------------- Finished! The fact that you got this far is a strong indication that `debian-testing-amd64-netinst.iso' was generated correctly. I will perform an additional, final check, which you can interrupt safely with Ctrl-C if you do not want to wait. MD5 from template: l2l48nbYVylT4qrQ0Eq3ww MD5 from image: l2l48nbYVylT4qrQ0Eq3ww OK: MD5 Checksums match, image is good! WARNING: MD5 is not considered a secure hash! WARNING: It is recommended to verify your image in other ways too! Debian offers three ways to verify an ISO image: sha1sums, md5sums and sha256sums. The sha1sum is considered vulnerable to collision attack but I have heard nothing about MD5.
Why is MD5SUM considered an insecure hash? Is the SHA256SUM the only secure way to verify a downloaded debian ISO?