Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upfile checksum mysteriously changed #1505
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cfcs
Dec 11, 2015
Did the file size change? (ls -l)
This sounds very, very strange.
By the way, you should use sha256sum or sha224sum; using md5sum is like running crc32 on it.
cfcs
commented
Dec 11, 2015
|
Did the file size change? ( By the way, you should use |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
wayzard
Dec 18, 2015
The filesize did not change. When dding the first hundred(s of) MB(s), checksum looked the same as on another system. When I checksum the whole giant file, though, it would differ.
Unfortunately this problem is no longer reproducible (or at least not reliably) after the system has reset a few times. Checksums look good now (except for a strange episode where it dropped the device while checksumming a file on a large vfat partition. I/O error and stopped writing to or even recognizing the usb until I unbind/rebind the pci slot. This also is no longer reproducible reliably).
I don't know what else to say about that. Maybe the issue should be closed unless someone can reproduce it?
EDIT: I just use md5 to check if a file changed in the course of writing between my laptop and my thumbdrive. I'm more worried about quickly checking a write failure than whether some wizardry has inserted maliciousness into my file automagically with a collision attack.
wayzard
commented
Dec 18, 2015
|
The filesize did not change. When Unfortunately this problem is no longer reproducible (or at least not reliably) after the system has reset a few times. Checksums look good now (except for a strange episode where it dropped the device while checksumming a file on a large vfat partition. I/O error and stopped writing to or even recognizing the usb until I unbind/rebind the pci slot. This also is no longer reproducible reliably). I don't know what else to say about that. Maybe the issue should be closed unless someone can reproduce it? EDIT: I just use md5 to check if a file changed in the course of writing between my laptop and my thumbdrive. I'm more worried about quickly checking a write failure than whether some wizardry has inserted maliciousness into my file automagically with a collision attack. |
andrewdavidwong
added
the
question
label
Apr 6, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 6, 2016
Member
I don't know what else to say about that. Maybe the issue should be closed unless someone can reproduce it?
Closing unless/until someone can reproduce this.
Closing unless/until someone can reproduce this. |
wayzard commentedDec 10, 2015
I am not sure if this is an error with the
md5sumprogram or an error with adommangling the data when the device is added to loopback or... I don't know....Scanning and/or copying a large file from an ext2 partition (from an external USB) shows wrong md5sum when summed in Qubes Dom0:
When viewed on the external USB in Dom0, it is already a different MD5 sum. Then, after copied and used in a VM/DomU/guest, it becomes another MD5 sum.
FYI, on Linux Mint and Fedora 23 (not Qubes), both before and after loading it in Qubes, it was consistently:
ef192433017c5d99a156eaef51fd389dThe files that I tried were over 3GB in size. The problem existed for all such files.