wrong md5sum and gzip format

Asked by CacheGuard on 2017-02-16

Hi,

* .gz files on "http://www.measurement-factory.com/tmp/ecap/" are not in a gzip compressed format (are not compressed). Also all md5sum are wrong!

Best Regards,
CG

Question information

Language:
English Edit question
Status:
Solved
For:
eCAP Edit question
Assignee:
No assignee Edit question
Solved by:
CacheGuard
Solved:
2017-02-16
Last query:
2017-02-16
Last reply:
2017-02-16
Alex Rousskov (rousskov) said : #1

Do not panic! They are compressed and checksums are correct, but your browser is trying to be helpful and is decompressing them for you.

$ wget http://www.measurement-factory.com/tmp/ecap/checksums
$ wget http://www.measurement-factory.com/tmp/ecap/ecap_clamav_adapter-2.0.0.tar.gz

$ file ecap_clamav_adapter-2.0.0.tar.gz
ecap_clamav_adapter-2.0.0.tar.gz: gzip compressed data, ...

$ gunzip -vt ecap_clamav_adapter-2.0.0.tar.gz
ecap_clamav_adapter-2.0.0.tar.gz: OK

$ md5sum ecap_clamav_adapter-2.0.0.tar.gz
2647c1125c69bd83d66f56bee56a9a68 ecap_clamav_adapter-2.0.0.tar.gz

$ fgrep ecap_clamav_adapter-2.0.0.tar.gz checksums
MD5 (ecap_clamav_adapter-2.0.0.tar.gz) = 2647c1125c69bd83d66f56bee56a9a68

CacheGuard (cacheguard) said : #2

Thanks a lot! Not used to use Chrome. Firefox doesn't operate like that...