Page 1 of 1
Digest not matching.
Posted: 2010-12-05T20:27:54-07:00
by cnemelka
Code: Select all
$ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
--2010-12-05 20:23:47-- ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
=> `ImageMagick.tar.gz'
Resolving ftp.imagemagick.org... 74.63.13.227
Connecting to ftp.imagemagick.org|74.63.13.227|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/ImageMagick ... done.
==> SIZE ImageMagick.tar.gz ... 11265352
==> PASV ... done. ==> RETR ImageMagick.tar.gz ... done.
Length: 11265352 (11M) (unauthoritative)
100%[==========================================================================================>] 11,265,352 796K/s in 14s
2010-12-05 20:24:03 (768 KB/s) - `ImageMagick.tar.gz' saved [11265352]
$ wget http://www.imagemagick.org/download/digest.rdf
--2010-12-05 20:24:10-- http://www.imagemagick.org/download/digest.rdf
Resolving www.imagemagick.org... 74.63.13.227
Connecting to www.imagemagick.org|74.63.13.227|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17314 (17K) [text/xml]
Saving to: `digest.rdf'
100%[==========================================================================================>] 17,314 108K/s in 0.2s
2010-12-05 20:24:11 (108 KB/s) - `digest.rdf' saved [17314/17314]
$ digest -authenticate digest.rdf -
Path: ImageMagick.tar.gz
create date: 2010-12-04T15:24:21-05:00
modify date: 2010-12-04T15:24:21-05:00
digest (2010-12-04T15:30:44-05:00):
24ab47afeaaf9b4e1a64d505ce65cad8ff0eeeee1e9db08ecf74ee82aff6fc23
errant digest (2010-12-05T20:24:17-07:00):
216edcfae6636af2d35cf657add2aa260fb88c17cfb44436c5eae38ac139f222
digest: unable to open file `ImageMagick-6.6.2-10.tar.gz': No such file or directory @ wizard/blob.c/OpenBlob/1152.
<snip>
Re: Digest not matching.
Posted: 2010-12-06T08:34:29-07:00
by magick
We corrected the digest for ImageMagick.tar.gz. Thanks for alerting us to the problem.
Re: Digest not matching.
Posted: 2013-07-04T11:05:28-07:00
by mbrenner04
Message digest does not appear to match.
Code: Select all
$ wget -v http://www.imagemagick.org/download/ImageMagick.tar.gz
--2013-07-04 10:53:55-- http://www.imagemagick.org/download/ImageMagick.tar.gz
Resolving www.imagemagick.org... 209.191.186.187
Connecting to www.imagemagick.org|209.191.186.187|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11729387 (11M) [application/x-gzip]
Saving to: âImageMagick.tar.gzâ
100%[======================================>] 11,729,387 430K/s in 37s
2013-07-04 10:54:33 (309 KB/s) - âImageMagick.tar.gzâ
$ wget -v http://www.imagemagick.org/download/digest.rdf
--2013-07-04 10:55:08-- http://www.imagemagick.org/download/digest.rdf
Resolving www.imagemagick.org... 209.191.186.187
Connecting to www.imagemagick.org|209.191.186.187|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5270 (5.1K) [text/xml]
Saving to: âdigest.rdfâ
100%[======================================>] 5,270 --.-K/s in 0.001s
2013-07-04 10:55:09 (6.53 MB/s) - âdigest.rdfâ
$ digest -authenticate digest.rdf -
Path: ImageMagick.tar.gz
create date: 2013-06-28T20:57:22-04:00
modify date: 2013-06-28T20:57:22-04:00
digest (2013-06-28T21:18:50-04:00):
00e7ee13222f36897e24fac69630fe3d1b8050a4d462a496d51cc88e412e938f
errant digest (2013-07-04T10:55:33-07:00):
51f2874f879b5da4174f498ed976311b29cee0b8ad009ea9437791157a2ef3d7
Re: Digest not matching.
Posted: 2013-07-04T12:55:57-07:00
by magick
The problem is with the digest program and whether the authentication works directly on the file or the uncompressed version. We'll fix that bug by tomorrow. In the mean-time, use the sha256sum (or equivalent) to authenticate the hash. Thanks.
Re: Digest not matching.
Posted: 2013-07-04T13:50:30-07:00
by mbrenner04
Thank you for the quick response - sha256sum worked great:
Code: Select all
$ cat digest.rdf
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:digest="http://www.wizards-toolkit.org/digest/1.0/">
<digest:Content rdf:about="ImageMagick.tar.gz">
<digest:timestamp>2013-06-28T21:18:50-04:00</digest:timestamp>
<digest:modify-date>2013-06-28T20:57:22-04:00</digest:modify-date>
<digest:create-date>2013-06-28T20:57:22-04:00</digest:create-date>
<digest:extent>11729387</digest:extent>
<digest:sha256>00e7ee13222f36897e24fac69630fe3d1b8050a4d462a496d51cc88e412e938f</digest:sha256>
</digest:Content>
</rdf:RDF>
$ sha256sum ImageMagick.tar.gz
00e7ee13222f36897e24fac69630fe3d1b8050a4d462a496d51cc88e412e938f ImageMagick.tar.gz