News for hackers. Stuff that matters.
Re:Why it’s harder to forge a SHA-1 certificate than to find... by TazeTSchnitzel on Tuesday December 22, 2015 @02:41PM (#10779843)

  $ curl -s https://blog.cloudflare.com/content/images/2015/08/white.jpg | md5
  ccf22bc377846166ed65cd3cd58d2e3d
  $ curl -s https://blog.cloudflare.com/content/images/2015/08/brown.jpg | md5
  810cac197d97da7b216c7883be523495
  $ curl -s https://blog.cloudflare.com/content/images/2015/08/black.jpg | md5
  6bede506abffe08d0c2406d92fbff393
Let me guess, the CloudFlare CDN is recompressing the images? :D
Re:Why it’s harder to forge a SHA-1 certificate than to find... by diziet on Tuesday December 22, 2015 @02:49PM (#10779906)
The original article has the correct images:

  $ curl -s http://www.fishtrap.co.uk/black.jpg.coll | md5
  b69dd1fd1254868b6e0bb8ed9fe7ecad
  $ curl -s http://www.fishtrap.co.uk/brown.jpg.coll | md5
  b69dd1fd1254868b6e0bb8ed9fe7ecad
  $ curl -s http://www.fishtrap.co.uk/white.jpg.coll | md5
  b69dd1fd1254868b6e0bb8ed9fe7ecad
Re:Why it’s harder to forge a SHA-1 certificate than to find... by grittygrease on Tuesday December 22, 2015 @02:58PM (#10779978)
Good catch. CloudFlare's optimizations are often too good for their own good. Fixing.
Re:Why it’s harder to forge a SHA-1 certificate than to find... by pcl on Tuesday December 22, 2015 @02:53PM (#10779936)
If you download the files to disk, you'll get the right values:

    $ curl -s https://blog.cloudflare.com/content/images/2015/08/white.jpg > file && md5 file                                                 
    MD5 (file) = b69dd1fd1254868b6e0bb8ed9fe7ecad
I've seen this same sort of thing happen with curl in other contexts, but I've never tracked down the details. I assume it has something to do with file stream handling in certain versions of curl. You'll see a discrepancy if you look at the output of piping to 'wc' vs. examining the downloaded file.
Re:Why it’s harder to forge a SHA-1 certificate than to find... by schoen on Tuesday December 22, 2015 @03:43PM (#10780271)
I ran the same curl command twice in a row and got files with different sizes! I think it actually does have to do with Cloudflare rather than with curl in this case.
Re:Why it’s harder to forge a SHA-1 certificate than to find... by richardwhiuk on Tuesday December 22, 2015 @07:19PM (#10781255)
Apparently sometimes the CDN is stripping the EXIF data