Bug 527197 - SHA256: Package file list shows wrong checksum
Summary: SHA256: Package file list shows wrong checksum
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Shannon Hughes
QA Contact: Red Hat Satellite QA List
URL: https://<satellite>/network/software/...
Whiteboard:
Depends On:
Blocks: space08
TreeView+ depends on / blocked
 
Reported: 2009-10-05 09:23 UTC by Michael Mráka
Modified: 2010-02-16 12:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-16 12:55:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Mráka 2009-10-05 09:23:47 UTC
Description of problem:
File in sha256 capable channel (Fedora11 content)
https://<satellite>/network/software/packages/file_list.pxt?pid=XXX
a) Header of checksum column should be 'SHA256 Sum' instead of 'MD5 Sum'
b) Checksum itself is truncated to first 32 chars

Version-Release number of selected component (if applicable):
Spacewalk 0.6
spacewalk-pxt-0.7.4-1.el5.noarch

How reproducible:
always

Steps to Reproduce:
1. sync sha256 content to spacewalk (e.g. Fedora11 repo)
2. go to Channel -> <sha256 channel> -> Packages -> <package detail> -> File List
3. compare checksum to the sha256sum of real files installed on client 
  
Actual results:
webUI shows only first 32 char of checksum 

Expected results:
checksum have to be identical

Additional info:
!!! WARNING !!!: compare checksum of non-binary files because binaries may change due to prelink

Comment 1 Justin Sherrill 2009-12-14 18:05:54 UTC
Michael

This seems to be working just fine for me.  I spacewalk-repo-sync'd the F12 repo and for the /etc/Muttrc file in mutt-1.5.20-1.20090827hg605559.fc12.i686.rpm the sha256 is 2a2078d9138046db194c9d1463f1f86e4d7df53f31ec43bf9d9b067c5249ce62 which seems to match the file fine.

I'm guessing you hit this error before your sha256 work.  I'll move this to on_dev.

-Justin

Comment 2 Michael Mráka 2010-02-16 12:58:40 UTC
Spacewalk 0.8 has been released


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