Bug 530215 - F12 checksum files incorrectly declare hash as SHA1
Summary: F12 checksum files incorrectly declare hash as SHA1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: LiveCD
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard: https://fedoraproject.org/wiki/Common...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-21 21:54 UTC by Need Real Name
Modified: 2013-01-10 05:32 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 504228
Environment:
Last Closed: 2009-10-21 22:12:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2009-10-21 21:54:42 UTC
+++ This bug was initially created as a clone of Bug #504228 +++

I notice that the CHECKSUM files for Fedora 12 images declare the hash as SHA1 but it is actually SHA256.


$ head -2 F12-Beta-x86_64-Live-CHECKSUM 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


$ sha1sum -c F12-Beta-x86_64-Live-CHECKSUM 
sha1sum: F12-Beta-x86_64-Live-CHECKSUM: no properly formatted SHA1 checksum lines found


$ sha256sum -c F12-Beta-x86_64-Live-CHECKSUM 
F12-Beta-x86_64-Live.iso: OK

Comment 1 Todd Zullinger 2009-10-21 22:12:36 UTC
The Hash: SHA1 is part of the PGP signature and has no relation to the hash used in the contents of the file.

Comment 2 Need Real Name 2009-10-22 16:01:00 UTC
Ah.  Thanks for the clarification.


Is there some cue to end-users what hash algorithm is in use in the CHECKSUM files?

Or do we just run 

$ sha1sum -c F12-Beta-x86_64-Live-CHECKSUM
...
$ sha224sum -c F12-Beta-x86_64-Live-CHECKSUM
...
$ sha256sum -c F12-Beta-x86_64-Live-CHECKSUM
...
$ sha384sum -c F12-Beta-x86_64-Live-CHECKSUM
...
$ sha512sum -c F12-Beta-x86_64-Live-CHECKSUM
...


etc, until we find one that works?

Comment 3 Todd Zullinger 2009-10-22 16:12:59 UTC
The process for verifying .iso images is detailed at https://fedoraproject.org/verify.  The websites team is looking at adding a link to there from the get-prerelease page.

Comment 4 Need Real Name 2009-10-23 22:34:27 UTC
excellent, thank you.


Note You need to log in before you can comment on or make changes to this bug.