Package: ruby1.8 Version: 1.8.7.302-2squeeze1 Severity: normal I have a file that is about 1g in size. It's sha1sum is fe74d2090317536db6299d9b2d9b462bdf724843.
Digest::SHA1.hexdigest(File.open(fn).read) produces the wrong hashsum! | weasel@stabile:~$ irb | irb(main):001:0> require 'digest/sha1' | => true | irb(main):002:0> fn='/srv/snapshot.debian.org/farm/fe/74/fe74d2090317536db6299d9b2d9b462bdf724843' | => "/srv/snapshot.debian.org/farm/fe/74/fe74d2090317536db6299d9b2d9b462bdf724843" | irb(main):003:0> Digest::SHA1.hexdigest(File.open(fn).read) | => "eae201aa5664d611fe73b541b1986134f814307f" | irb(main):004:0> Digest::SHA1.file(fn).hexdigest | => "fe74d2090317536db6299d9b2d9b462bdf724843" Other example file that exhibit this behaviour are 08c8a36ae3241b1e1cca684962f012bb954643da in the same place, or http://http.us.debian.org/debian/pool/main/o/openclipart/openclipart-png_2.0-2_all.deb for something that is still available on debian mirrors. These are a bit over 600m in size. Cheers, weasel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

