[BusyBox] md5sum -c and binary mode !?

walter harms wharms at bfs.de
Tue Jun 7 13:03:23 UTC 2005


hi,
i tested that feature with gnu-md5sum: * is no problem.

  md5sum -c xx.md5
xx.c: Ok

therefor -s is broken

re,
	walter

from the info file:

Each valid line of input
consists of an MD5 checksum, a binary/text flag, and then a
filename.  Binary files are marked with `*', text with ` '.
seems everythink is binary.


Steven Scholz wrote:
> I wrote:
> 
>> I am using
>>
>>     md5sum -b foobar > foobar.md5
>>
>> to generate a checksum for my application (binary) on the development 
>> host.
>>
>> On my embedded target system
>>
>>     md5sum -c foobar.md5
>>
>> should be used to verify that checksum.
>>
>> But "-b" adds an "*" before the filename like
>>
>>     caeea507d55aebb2d3d3c592482b64ae *foobar
>>
>> For that reason busybox "md5sum -c" does _not_ check foobar !!!
>>
>> Is that a bug or a feature?
> 
> 
> Any comments so far?
> 
> -- 
> Steven
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox



More information about the busybox mailing list