[OpenAFS] MD5 sums for Windows *msi files

Kim Kimball dhk@ccre.com
Tue, 29 May 2007 15:02:38 -0600


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The OAFS4Windows 1.4.4 *msi files, from OpenAFS.org "Download current
release," using right-click "Save target as" and also FlashGet.<br>
<br>
Thanks for the suggestions.&nbsp; I did try openssl dgst -md5 and got the
same numbers I got with all the other md5 tools I tried.<br>
<br>
Kim<br>
<br>
<br>
Marcus Watts wrote:
<blockquote cite="mid10026090.1180470971233.JavaMail.root@m11"
 type="cite">
  <pre wrap="">Kim Kimball <a class="moz-txt-link-rfc2396E" href="mailto:dhk@ccre.com">&lt;dhk@ccre.com&gt;</a> writes:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

I've tried three different md5 tools (Windows md5summer, md5sum 
Solaris/RHEL) and cannot get the MD5 sums to match.

The sums I get are consistent across the tools I'm using.

Is there a mode switch I'm missing, or something like that?

Thanks!

Kim
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What exactly are you trying to checksum?  What
URL did it come from?  Is the byte length exactly equal?

Off-hand, for source (text), crlf vs lf might break comparison.
Compressed vs. uncompressed may also be an issue.
Web browsers commonly do uncompression without asking.
Recompressing an uncompressed file may not produce
the same results as the original, even if the same
compression algorithm is used.

You might try checksuming "null" data to check your md5
implementations:
	$ md5sum /dev/null
	d41d8cd98f00b204e9800998ecf8427e  /dev/null
	$ 
For Windows, if "NUL" or \Device\Null doesn't work use an empty (0 length)
file.  If you do get different numbers, start by checking for byte swapping.
For instance, do you see 7e42f8ec98 ... ?  Supposedly this shouldn't
happen.

Besides md5sum, also try "openssl md5" on unix (and if possible windows).
Numbers should match, output may vary slightly in format.

Besides md5summer, there's also an unsupported microsoft tool
called "Microsoft File Checksum Integrity Verifier" that can apparently
compute md5 checksums (at least that's what wikipedia claims.)
Again, output format varies.

I doubt this is relevant, but if you really do have .msi files that
seem to be different, here's a .msi&lt;-&gt;xml converter that might be interesting
<a class="moz-txt-link-freetext" href="http://msi2xml.sourceforge.net/">http://msi2xml.sourceforge.net/</a>

				-Marcus Watts


  </pre>
</blockquote>
</body>
</html>