473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

wrong md5 checksum

Hi,

the download page (http://www.python.org/download/releases/3.0/) for
Python 3000 shows :

9119625244b17aa35ed94b655a2b2135 13491200 python-3.0b1.msi

but I got

9119625244a57aa35ed94b655a2b2135 13491200 python-3.0b1.msi

(44a57 rather than 44b17 )

with several md5 checkers ( MdChecker (http://getmd5checker.com/) or a C
prog I've written)

what's wrong ?
Jul 1 '08 #1
4 2283
kkwweett a écrit :
Hi,

the download page (http://www.python.org/download/releases/3.0/) for
Python 3000 shows :

9119625244b17aa35ed94b655a2b2135 13491200 python-3.0b1.msi

but I got

9119625244a57aa35ed94b655a2b2135 13491200 python-3.0b1.msi

(44a57 rather than 44b17 )

with several md5 checkers ( MdChecker (http://getmd5checker.com/) or a C
prog I've written)
Wrong md5 checksum even with Python2.5 :
import md5
m=md5.new()
message=open("python-3.0b1.msi","rb").read()
m.update(message)
m.hexdigest()

Answer : '9119625244a57aa35ed94b655a2b2135'
Does anyone know what can be done to decide wether the file is corrupted
or the checksum given is wrong ?
Jul 1 '08 #2
On Tue, 01 Jul 2008 17:54:05 +0200, kkwweett <kk******@hotmail.frwrote:
kkwweett a écrit :
>Hi,

the download page (http://www.python.org/download/releases/3.0/) for
Python 3000 shows :

9119625244b17aa35ed94b655a2b2135 13491200 python-3.0b1.msi

but I got

9119625244a57aa35ed94b655a2b2135 13491200 python-3.0b1.msi

(44a57 rather than 44b17 )
[snip]
Does anyone know what can be done to decide wether the file is corrupted
or the checksum given is wrong ?
For what it's worth, md5sum (GNU coreutils) 5.93 agrees with
your result.

This interesting almost-agreement could result from

A. an error in the software that computed the value for the web page,
B. a transcription error in putting the checksum on the web page,
C. accidental corruption of the file, or
D. a deliberate attempt to substitute a file with a similar MD5 sum.

Possibility C is unlikely, but would be the most exciting
development in cryptology this year. If C turns out to be the
explanation, I hope someone will make sure sci.crypt gets told.
Possibility D would be awfully interesting, too.

--
To email me, substitute nowhere->spamcop, invalid->net.
Jul 1 '08 #3
>
A. an error in the software that computed the value for the web page,
B. a transcription error in putting the checksum on the web page,
C. accidental corruption of the file, or
D. a deliberate attempt to substitute a file with a similar MD5 sum.
It seems that the answer is probably B. But, according to the release
website manager, a mystery remains :

http://mail.python.org/pipermail/pyt...ly/014281.html
Jul 2 '08 #4


kkwweett wrote:
>
>>
A. an error in the software that computed the value for the web page,
B. a transcription error in putting the checksum on the web page,
C. accidental corruption of the file, or
D. a deliberate attempt to substitute a file with a similar MD5 sum.

It seems that the answer is probably B. But, according to the release
website manager, a mystery remains :

http://mail.python.org/pipermail/pyt...ly/014281.html
Marcin Kowalczyk pointed out in a follow-up to the above that the
replacement of 'a5' with 'b1' could have been part of a global
search/replace that would have been correct everywhere else on the page.
Thus case C. Barry remembers doing some such.

Lesson. Take care with blind global replacements.

Jul 3 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Mercuro | last post by:
Hello i'm looking for a simple way to checksum my data. The data is 70 bytes long per record, so a 32 byte hex md5sum would increase the size of my mysql db a lot. I'm looking for something...
2
by: pradeep | last post by:
I have 2 data files, DATA1 and DATA2 , both same. My task is to: Open DATA1, compute the checksum and put it in the end of the file(don't bother about boundary conditions).close DATA1 Open...
4
by: Abby | last post by:
I have an array which contain Hex no. in each position. For examples, unsigned char data; data = 0x00; data = 0x01; data = 0x02; data = 0xE; data = 0xEF; --> This is the checksum value
2
by: Abby | last post by:
I need to do 8 bits 2's complement checksum, so I wrote code in order to see if the checksum calculation is correct. ===========================================================================...
6
by: Kevin | last post by:
I'm on Sun 0S 5.8 and need to calculate the checksum of certain sections in an ELF binary file. Specifically .text to .rodata. I'm able to parse through to the program header table and then find...
1
by: Terry | last post by:
I'm trying to calculate the checksum for UDP packet. The algorithm itself is not difficult (lots of examples out there), but what I'm having the most trouble with is determining the byte order...
4
by: Rain | last post by:
hi, need help here, does anyone know how to use or does any one have the code for checksum? I want to checksum a string to be sent using udp and checksum it again when received.. does anyone...
1
by: office | last post by:
I have a problem with writting data to a Socket. It comes some incorrect checksum (dump with tcpdump) Dump : 00:16:76:df:12:eb (oui Unknown) 00:04:23:c1:72:23 (oui Unknown), ethertype IPv4...
0
by: gajjar123 | last post by:
hi , i m trying to generate MD5 checksum (32 char) for xml file or other file using string Result ; Result=System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.