]> git.decadent.org.uk Git - dak.git/commit - dak/generate_index_diffs.py
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)
commit24fc775e6a64dbb80c8d9ef823737973284d7ec5
tree17405d7aad47e847ac3fad5d35430792c7ada0c3
parent15ce141215d62c562254793cf5db541779b88bb7
include hashsum for compressed patch file in .diff/Index

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>
dak/generate_index_diffs.py