LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MD5 hash value (http://www.linuxquestions.org/questions/linux-newbie-8/md5-hash-value-178843/)

dominant 05-07-2004 03:18 AM

MD5 hash value
 
What value's hash value we should calculate in order to ensure that the package or ISO images are the genuine ones?

btmiller 05-07-2004 03:36 AM

Just type md5sum <filename> where <filename> is the name of the file, and compare the results with the supplier's MD5 sum. If they match, then the files are OK and if not they were tampered with/corrupted in the download.

dominant 05-07-2004 03:52 AM

Well, SUSE says

Code:

ftp://ftp.suse.com/pub/suse/i386/liv...eCD-9.1-01.iso
9f4ed1bc6b3ee582bf593fde75d5db43

i say
Code:

monster:~ # echo "LiveCD-9.1-01.iso" |md5sum
ba1e90a2b3b7165d6aa24b192c7f549e  -
monster:~ # echo "ftp://ftp.suse.com/pub/suse/i386/live-cd-9.1/LiveCD-9.1-01.iso" |md5sum
a9de46bb2a390a829cbc9450ca80fb9c  -
monster:~ #

I though that the exact size of the ISO must also calculated to ensure that nobady has changed adding any malicious code.


All times are GMT -5. The time now is 10:07 PM.