Bug 527197

Summary: SHA256: Package file list shows wrong checksum
Product: [Community] Spacewalk Reporter: Michael Mráka <mmraka>
Component: WebUIAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.6CC: jsherril
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://<satellite>/network/software/packages/file_list.pxt?pid=XXX
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-16 12:55:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 543511    

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