Subject: pkg/36565: pkgsrc/pkgtools/digest: tiger hash bug
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ighighi@gmail.com>
List: pkgsrc-bugs
Date: 06/27/2007 08:35:00
>Number:         36565
>Category:       pkg
>Synopsis:       pkgsrc/pkgtools/digest: tiger hash bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 27 08:35:00 +0000 2007
>Originator:     Ighighi
>Release:        
>Organization:
>Environment:
>Description:
Hashing /dev/null or the null string (echo -n "") would output the contents of the initial Tiger context.
$ digest tiger /dev/null
TIGER (/dev/null) = 0123456789abcdeffedcba9876543210f096a5b4c3b2e187

It should be:
$ ./digest tiger /dev/null
TIGER (/dev/null) = 24f0130c63ac933216166e76b1bb925ff373de2d49584e7a

See: http://www.cs.technion.ac.il/~biham/Reports/Tiger/testresults.html

Note: I posted a complete report along with a patch to the FreeBSD GNATS database at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112553

Around the same time I sent an e-mail to agc@netbsd.org so I assume it got lost.


>How-To-Repeat:

>Fix: