{"action":"opened","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/240","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/240/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/240/events","html_url":"https://github.com/commercialhaskell/stack/issues/240","id":86713253,"number":240,"title":"Network.HTTP.Download.download chokes on Hackage tarballs","user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"DanBurton","id":713692,"avatar_url":"https://avatars.githubusercontent.com/u/713692?v=3","gravatar_id":"","url":"https://api.github.com/users/DanBurton","html_url":"https://github.com/DanBurton","followers_url":"https://api.github.com/users/DanBurton/followers","following_url":"https://api.github.com/users/DanBurton/following{/other_user}","gists_url":"https://api.github.com/users/DanBurton/gists{/gist_id}","starred_url":"https://api.github.com/users/DanBurton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanBurton/subscriptions","organizations_url":"https://api.github.com/users/DanBurton/orgs","repos_url":"https://api.github.com/users/DanBurton/repos","events_url":"https://api.github.com/users/DanBurton/events{/privacy}","received_events_url":"https://api.github.com/users/DanBurton/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/4","html_url":"https://github.com/commercialhaskell/stack/milestones/First%20stable%20release%20(0.1.0.0?)","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/4/labels","id":1142961,"number":4,"title":"First stable release (0.1.0.0?)","description":"","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":10,"state":"open","created_at":"2015-06-01T13:52:26Z","updated_at":"2015-06-09T19:44:05Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-09T19:44:05Z","updated_at":"2015-06-09T19:44:05Z","closed_at":null,"body":"In working on #199, I discovered that calling `download` on the URL http://hackage.haskell.org/package/acme-missiles-0.3/acme-missiles-0.3.tar.gz produces:\r\n\r\n> WrongDigest \"MD5\" \"\\211\\222\\&4\\245\\247\\253\\231Nx\\227\\141\\218\\245\\167\\\\o\\215\\154}\\205\\180\\239\\157w\" \"09409ff95054443a9adcb9eafc207513\"\r\n\r\nNot sure if this is a problem with our assumptions or with how Hackage is serving things. At a surface level, it looks like a lack of base16 encoding before comparison."}}