Tahoe: Avoid verifying hash after download, since tahoe does sufficient verification...
authorJoey Hess <joeyh@joeyh.name>
Tue, 9 Feb 2021 17:42:16 +0000 (13:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 9 Feb 2021 17:42:16 +0000 (13:42 -0400)
commitfa3d71d924731f8b0b24ad2744ab2e7154a87a9a
treef925d71013590ad7da1a2d87b54810912e6d9e20
parentcbe84b62b9d5f972a900c5905babf961ff3c1e05
Tahoe: Avoid verifying hash after download, since tahoe does sufficient verification itself

See my comment in the next commit for some details about why
Verified needs a hash with preimage resistance. As far as tahoe goes,
it's fully cryptographically secure.

I think that bup could also return Verified. However, the Retriever
interface does not currenly support that.
CHANGELOG
Remote/BitTorrent.hs
Remote/Tahoe.hs
Types/Remote.hs