Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.63. hmaccalc

An updated hmaccalc package that fixes a bug is now available for Red Hat Enterprise Linux 5.
The hmaccalc package contains tools to calculate HMAC (Hash-based Message Authentication Code) values for files. The names and interfaces were designed to mimic those of the sha1sum, sha256sum, sha384sum and sha512sum tools provided by the coreutils package.

Bug Fix

BZ#658178
Prior to this update, hmaccalc erroneously truncated the values which it read from a checkfile before comparing them with the computed values. Consequently, comparison between differently truncated sums of files passed in some cases. This update backports a change which modifies the hmaccalc tool so that when it is used to verify checksums, if it is told to truncate computed values during a verification operation, it will not truncate the values which it reads from a checkfile before comparing them with the computed values. As a result hmaccalc correctly detects differences in hmac values.
All users of hmaccalc are advised to upgrade to this updated package, which fixes this bug.