]> git.decadent.org.uk Git - dak.git/commitdiff
include hashsum for compressed patch file in .diff/Index
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 28 Oct 2015 19:36:20 +0000 (20:36 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 8 Dec 2015 22:16:44 +0000 (23:16 +0100)
APT prefers to download files it has hashes for to check it actually got
the file it wanted instead of some man-in-the-middled file (by an attacker
or simply by a webportal returning a login mask for every request).
Giving it the hash of the compressed file saves APT from needing to
uncompress the patch before being able to verify its integrity.

Signed-off-by: David Kalnischkies <david@kalnischkies.de>
Signed-off-by: Joerg Jaspert <joerg@debian.org>

No differences found