Author Topic: md5sum Signatures  (Read 706 times)

epretorious

  • Newbie
  • *
  • Posts: 21
md5sum Signatures
« on: February 17, 2012, 04:18:45 AM »
  • The md5sum signature files of both ISO's are incorrectly formatted: Both signature files contain a single space between the MD5 sum and the corresponding input file name.
[The signature file] will have one line per input file. Each line will contain an MD5 sum (32 hexadecimal digits), two spaces and the corresponding input file name....

This causes errors when using md5sum to check the sum of the target:

Code: [Select]
[eric@sunflower ISO]$ md5sum -c opennode_6.0beta1.iso.md5
md5sum: opennode_6.0beta1.iso.md5: no properly formatted MD5 checksum lines found

  • AFAICT there isn't a published best-practices guide for using md5sum but, it's been my experience that if the MD5 sum only contains the sum of one file (e.g., an .ISO) the name of the md5sum signature file is created by appending .md5 to the name of the .ISO. (This way, when retrieved and saved to the same directory, the two files appear sequentially in the directory listing.)
Code: [Select]
[eric@sunflower ISO]$ ls -al
total 513172
drwxrwsr-x+ 5 root    vboxusers      4096 2012-02-16 17:51 ./
drwxrwsr-x+ 7 root    vboxusers      4096 2012-01-25 14:41 ../
drwxrwsr-x+ 2 root    vboxusers      4096 2011-03-18 16:09 BSD/
drwxrwsr-x+ 3 root    vboxusers      4096 2011-12-10 18:22 Linux/
-rw-rw-r--+ 1 justine vboxusers 524937216 2012-02-15 20:41 opennode_6.0beta1.iso
-rw-rw-r--+ 1 justine vboxusers        55 2012-02-15 19:59 opennode_6.0beta1.iso.md5
    Eric P.
    Truckee, CA

    ilja_l

    • Administrator
    • Full Member
    • *****
    • Posts: 228
    Re: md5sum Signatures
    « Reply #1 on: February 17, 2012, 12:06:02 PM »
    Thanks for noticing, added to the issue tracker.

    cheers,
    Ilja

    epretorious

    • Newbie
    • *
    • Posts: 21
    Re: md5sum Signatures
    « Reply #2 on: February 17, 2012, 07:43:58 PM »
    Thanks, Ilja!
    Eric P.
    Truckee, CA