incubator-empire-db-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <tfisc...@apache.org>
Subject md5 and sha sums
Date Sat, 06 Sep 2008 12:56:48 GMT
What program do you use to calculate md5sums ? Your format looks rather 
nonstandard:

tfischer@musicbox:/data/empire-db> cat 
apache-empire-db-2.0.3-incubating.tar.gz.md5
apache-empire-db-2.0.3-incubating.tar.gz:
11 DA FB 22 D9 B2 B9 01  22 9B CF 8B 8A 21 E0 9C

usually, md5sums would have the following format:

tfischer@musicbox:/data/empire-db> md5sum 
apache-empire-db-2.0.3-incubating.tar.gz
11dafb22d9b2b901229bcf8b8a21e09c  apache-empire-db-2.0.3-incubating.tar.gz

Using your format, the md5sum cannot be checked automatically by md5sum:

tfischer@musicbox:/data/empire-db> md5sum -c 
apache-empire-db-2.0.3-incubating.tar.gz.md5
md5sum: apache-empire-db-2.0.3-incubating.tar.gz.md5: keine korrekt 
formatierte MD5-Prfsummenzeile gefunden

Also, I am not sure whether mirrors are checked automatically for their 
md5sum. If yes, this check will fail.
With a standard format, the check is easy:

tfischer@musicbox:/data/empire-db> md5sum 
apache-empire-db-2.0.3-incubating.tar.gz > test.md5
tfischer@musicbox:/data/empire-db> md5sum -c test.md5
apache-empire-db-2.0.3-incubating.tar.gz: OK

Same goes for the sha files and the sha1sum utility

    Regards,

      Thomas

Mime
View raw message